Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Configure SSL certificates

I have generated SSL certificates for my domain, and I am trying to integrate them into my application. Using the free LetsEncrypt service, I have created the following PEM files:

(1) ca-0088..[characters omitted]..4FE5-crt.pem
(2) my.domain.com-chain.pem
(3) my.domain.com-crt.pem
(4) my.domain.com-csr.pem
(5) my-domain.com-key.pem

The mongoose library expects ssl_cert, ssl_key, and ssl_ca_cert. Can you confirm which of these files should be used for which of these Mongoose server parameters?

My guess would be (3) for ssl_cert, (5) for ssl_key, and (1) for ssl_ca_cert, but I get an SSL protocol error when launching the server with these files.

Comments

Sign In or Register to comment.