I'm evaluating the possibility of changing my main webserver from nginx to caddy 2.
Is there any way to use existing letsencrypt certificates managed by certbot in caddy 2?
I'm evaluating the possibility of changing my main webserver from nginx to caddy 2.
Is there any way to use existing letsencrypt certificates managed by certbot in caddy 2?
You can. You need to have the following line in your Caddyfile. You have to obtain cert.pem and key.pem files and place them in same directory as Caddyfile.
tls cert.pem key.pem
You can refer this official documentation here. https://caddyserver.com/docs/v2-upgrade#tls