summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg27
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: