[bind10-dev] bindctl and bindctl.pem

Jeremy C. Reed jreed at isc.org
Fri Mar 12 22:55:49 UTC 2010


What is  bindctl.pem  for?

I see bindcmd.py has:

            self.conn = http.client.HTTPSConnection(self.server_port, 
cert_file='bindctl.pem')

But the pem file is not installed. It appears to be the same as the 
installed:

cmdctl-keyfile.pem
cmdctl-certfile.pem

Is this needed when on running on a different system?

I was working on b10-cmdctl by having it keep the configurations under 
@sysconfdir@ instead of @datadir at . I will commit so you can see.

If you don't run bindctl with in its source tree (maybe to access the 
pem file), it doesn't report any failure for missing files but fails 
anyways:

t1:trunk$ ./src/bin/bindctl/bindctl                       
[TEMP MESSAGE]: username :root  password :bind10
Username:root
Password: 
[Errno 336265218] _ssl.c:338: error:140B0002:SSL 
routines:SSL_CTX_use_PrivateKey_file:system lib 
Failed to connect with b10-cmdctl module, is it running?

If I run in the bindctl directory, it works fine.



More information about the bind10-dev mailing list