Certificate chain

(bartosz) #1

I have a problem with the certificate chain. How can I combine “intermediate certificate”, “root ca” and certificate on Caddy server. The tls directive accepts only the keys certificate.pem and privatekey.pem: tls cert (https://caddyserver.com/docs/tls)
Test result https://www.xolphin.com/sslcheck/ “Not all intermediate certificates” Indirect certificates are not transferred. Some browsers report “unsafe ssl connection”. There is nothing in Caddy’s documentation.
Thank you for your help

(Matthew Fay) #2

Hi @bartosz,

Generally you can just concatenate the keys into a text file.

Here’s a good resource - ignore the parts where they say to log in and download the certs, and substitute in your own from your cert provider: https://www.digicert.com/ssl-support/pem-ssl-creation.htm

(bartosz) #3

It’s works, thanks a lot