Droopy icon indicating copy to clipboard operation
Droopy copied to clipboard

Error when trying to start with -ssl

Open Xurcr0h opened this issue 8 years ago • 1 comments

Hey there,

when I try to start the encrypted version of Droopy with my letsencrypt cert.pem (I even tried generating a new selfsigned cert for testing purposes), I get the following error:

Traceback (most recent call last): File "droopy", line 1114, in main() File "droopy", line 1109, in main localisations=default_localisations) File "droopy", line 462, in run server_side=True) File "/usr/lib/python3.5/ssl.py", line 1077, in wrap_socket ciphers=ciphers) File "/usr/lib/python3.5/ssl.py", line 699, in init self._context.load_cert_chain(certfile, keyfile) ssl.SSLError: [SSL] PEM lib (_ssl.c:2957)

Can you help me, what am I doing wrong? Thx

Xurcr0h avatar Sep 15 '17 07:09 Xurcr0h

You need to put the private key in to the certificate PEM file. Normally they are separate, but in this case they are expected to be in the same file.

hdf avatar Jan 25 '18 22:01 hdf