How can I get https certificate while there is no 80 and 443 port to use?

If you can’t control ports 80 and 443 or they are blocked, you’ll have to use the DNS challenge – it is the only way: Automatic HTTPS — Caddy Documentation

2 Likes