diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-06 01:27:44 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-06 01:27:44 +0000 |
commit | 94f41c8cf61da64952a8567cc7b08b7b4b762a7f (patch) | |
tree | 6fc7a58444e2ce7c71dcfa3616ce7ea863cd11fc /src/sbin | |
parent | 2eb0c1eb999666fae548f33bb5f75aa19dd16645 (diff) | |
download | bcfg2-94f41c8cf61da64952a8567cc7b08b7b4b762a7f.tar.gz bcfg2-94f41c8cf61da64952a8567cc7b08b7b4b762a7f.tar.bz2 bcfg2-94f41c8cf61da64952a8567cc7b08b7b4b762a7f.zip |
SSL: build appropriate client options
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5196 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index a7e420b52..0d9ac8093 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -74,6 +74,9 @@ class Client: 'filelog': Bcfg2.Options.LOGGING_FILE_PATH, 'decision': Bcfg2.Options.CLIENT_DLIST, 'servicemode': Bcfg2.Options.CLIENT_SERVICE_MODE, + 'key' : Bcfg2.Options.CLIENT_KEY, + 'certificate' : Bcfg2.Options.CLIENT_CERT, + 'ca' : Bcfg2.Options.CLIENT_CA, } self.setup = Bcfg2.Options.OptionParser(optinfo) @@ -168,7 +171,9 @@ class Client: proxy = Bcfg2.Proxy.ComponentProxy(self.setup['server'], self.setup['user'], self.setup['password'], - self.setup['fingerprint']) + key = self.setup['key'], + cert = self.setup['certificate'], + ca = self.setup['ca']) if self.setup['profile']: try: |