Wss websocket (libwebsocket)

A key file and a pem file is needed.

cert_pem = /etc/letsencrypt/archive/
cert_key = /etc/letsencrypt/archive/

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.

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)

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

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

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.

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