Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop port 80 requirement #137

Open
sfescape opened this issue Nov 16, 2024 · 5 comments
Open

Drop port 80 requirement #137

sfescape opened this issue Nov 16, 2024 · 5 comments

Comments

@sfescape
Copy link

I only expose port 443 for my website and likewise only want to expose port 443 for PDS. If browsers don't need port 80, can PDS also drop the port 80 requirement?

@BrianCArnold
Copy link

The requirement is only really there's for caddy to get the tls cert, afaik. If you do your certs through letsencrypt any other way, like through traefik, and use that to do your reverse proxy, you should be able to drop the port 80 entirely.

I did, anyway.

@sfescape
Copy link
Author

That's good to know, perhaps the issue can be resolved with documentation.

@pfaffman
Copy link

I'm fairly certain that Let's Encrypt requires port 80 to get an initial certificate (with Caddy, traefik, or anything else), though I don't think port 80 is required for renewals.

If you're using DNS with let's encrypt then you don't need any ports open (as far as getting certs is concerned).

@TheButlah
Copy link

LetsEncrypt supports tls-alpn-01, which does not require port 80. Caddy supports it, so does traefik

@sfescape
Copy link
Author

Then it would be great for the project to switch to tls-alpn-01 and drop the port 80 requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants