I have a strange question, and I don't even know how to phrase it, but I try my best
I use laravel forge to manage my SSL with LetsEncrypt.
It generates the files:
server.crt
server.key
How to get .pem file from .key and .crt files? based on that link, I understood the server.crt is the same as the .pem the poster was asking about.
So, to generate the ca.pem I did the following:
cat /etc/ssl/certs/DST_Root_CA_X3.pem server.crt > ca.pem
then in my nginx.conf I have these lines:
ssl_client_certificate /etc/nginx/ssl/domain/ca.pem;
ssl_verify_client on;
My main goal is to use it with mqtt, and following 2 guides, I reached this setup, but sending the ca.pem with my mqtt command, I get:
*77 client sent no required SSL certificate while SSL handshaking, client: 11.112.7.84, server: 11.166.22.84:8883