Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Trying to run a convergence notary to learn some stuff and I get an error when starting the service. I am running Ubuntu server 11.04 fully updated. I followed the directions that are here.

When I start the service I get the following error:

@www:~$ sudo service convergence start
Raising maximum number of filedescriptors (ulimit -n) to 32768.
Starting convergence notary: convergence...
Traceback (most recent call last):
  File "/usr/local/bin/convergence-notary", line 236, in <module>
  main(sys.argv[1:])
File "/usr/local/bin/convergence-notary", line 215, in main
interface=incomingInterface)

File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 444, in listenSSL
p.startListening()

File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 854, in startListening
skt = self.createInternetSocket()

File "/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py", line 196, in createInternetSocket
return SSL.Connection(self.ctxFactory.getContext(), sock)

File "/usr/local/bin/convergence-notary", line 71, in getContext
ctx.use_certificate_chain_file(self.cert)

OpenSSL.SSL.Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_chain_file', 'system lib')]

note I'm using ports 8080 and 8081 because I already have 80 taken up by apache running my webserver, and 8081 because I have openSSL running for my webpage on 443. Besides, convergence doesn't care as long as your bundle info is correct.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

As you mentioned, this may not be a permanent fix, but good enough for now. Use the following command to make it work:

sudo convergence-notary -p 8080 -s 8081 -c /etc/ssl/certs/mynotary.pem -k /etc/ssl/private/convergence.key
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.