You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Ubuntu 20.04 LTS
ZNC: Tested with 1.8.5 (ubuntu repositories) and build from 2914235
ZNC works fine on the port without ssl, I can use both the webadmin interface and irc from multiple IRC clients. I am trying to get it working with ssl certificates from let's encrypt that I already use on my site. I have the certs in a folder that my user can read (doing the cat command on any of the files work). I have this in my znc config:
After removing the extra space after the key file it worked. Would be nice if those variables were stripped!
matheusfillipe
changed the title
SSL: letsencrypt keyfile not working - Csocket.cpp:1851 Bad keyfile
Enhancement: Strip spaces for SSL variables
Jul 9, 2021
I'm not sure about removing spaces. It's possible for a filename to have various characters, including spaces. However, limiting this filename to not have spaces at the end looks like a reasonable limitation.
What should be improved for sure, however, is the error message. "File not found" would be clearer than "Bad file"
OS: Ubuntu 20.04 LTS
ZNC: Tested with 1.8.5 (ubuntu repositories) and build from 2914235
ZNC works fine on the port without ssl, I can use both the webadmin interface and irc from multiple IRC clients. I am trying to get it working with ssl certificates from let's encrypt that I already use on my site. I have the certs in a folder that my user can read (doing the cat command on any of the files work). I have this in my znc config:
None of the SSL ports work. If i try from the browser this is what I get: . PR_END_OF_FILE_ERROR
Also the IRC clients cannot connect. In both cases this is what gets logged (with irc or webadmin https):
Still the key seems to be ok:
And the same key and cert are working on my nginx server.
The text was updated successfully, but these errors were encountered: