I am running through an ISP that does not allow me to use ports 80/443 so I have been using 9080/9443 and am unsure how to get the automatic certificate provisioning working. Everytime I enable tls in my Caddyfile I end up with an error.
I am running Caddy via docker with the abiosoft/caddy image.
By reading the documentation, the DNS challenge is my only alternative, is this correct? Further, is it possible use it with a DNS provider without a plugin available?
I’m afraid it’s not possible to have Caddy automatically provision a cert with a manual DNS verification process. Some interactive scripts and programs can do this, but Caddy has to be able to complete the process unattended, such as during renewals.
You could use one of those other methods to acquire your certificate and then give the resulting cert and key to Caddy using tls cert key in your Caddyfile.
But the best I can do is recommend Cloudflare as a free, very high quality DNS-only provider that’s supported for Caddy DNS challenges. No need to move the actual domain around, etc, and when you add your site they do a scan to copy most of your current zone, which reduces the effort of copying records across.