How to implement own Certificate #537
-
Hi, whom can help me with the correct syntax or an example to utilize a certificate file in caddy rather than relying on Letsencrypt. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Howdy, @madmouser1 -- this is the documentation you need https://caddyserver.com/docs/caddyfile/directives/tls |
Beta Was this translation helpful? Give feedback.
-
Many thanks @mcguirepr89 , it's working now and below is the config changes I made manually to the Before:
After:
The Certificates must be in PEM format. with the logfile stating
and so far all is working as expected. |
Beta Was this translation helpful? Give feedback.
Howdy, @madmouser1 -- this is the documentation you need https://caddyserver.com/docs/caddyfile/directives/tls