Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to start with -ssl #18

Open
Xurcr0h opened this issue Sep 15, 2017 · 1 comment
Open

Error when trying to start with -ssl #18

Xurcr0h opened this issue Sep 15, 2017 · 1 comment

Comments

@Xurcr0h
Copy link

Xurcr0h commented Sep 15, 2017

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

@hdf
Copy link

hdf commented Jan 25, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants