Wss websocket (libwebsocket)


#1

A key file and a pem file is needed.

cert_pem = /etc/letsencrypt/archive/audeomail.com/cert1.pem
cert_key = /etc/letsencrypt/archive/audeomail.com/privkey1.pem

no luck with that.

wss/libwebsocket does not complain or log a cert failiure , it simply fails to communicate if cert files are not right.


#2

Try fullchain rather than cert

also, (though this won’t be the cause of your problem right now) use the ones from the /etc/letsencrypt/live/ directory, not the archive, as the live ones will be updated when you renew (which you’ll be doing every few months, hopefully automatically)


#3

a .key file is expected for the key , yet a pem is provided, is that an
issue for libwebsockets ?

nothing has worked yet for this wss websocket server based on libwebsocket


#4

.key and .pem are two names for the same thing, just that pem could contain keys and/or certs.


#5

I suspect you’re going to have better luck talking to libwebsocket people about your problem and coming back only in the unlikely event that there’s a problem specifically with the Let’s Encrypt certificates.


#6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.