Score:0

Certbot challenge using 443 instead of 80?

ve flag

Is it possible to do the challenge using another port? I read here that you can't replace port 80, but using an "alternative let's encrypt client" you can? (not clear at all)

I have one server in this network where the administrator is unable, or unwilling to do a port forward on port 80, but had no problem with 443. Any ideas?

Score:0
jp flag

As told in the Certbot FAQ:

Yes, using the DNS-01 or TLS-ALPN-01 challenge. However, Certbot does not include support for TLS-ALPN-01 yet. If you're using any Certbot with any method other than DNS authentication, your web server must listen on port 80, or at least be capable of doing so temporarily during certificate validation.

Therefore, you only have two options with Certbot:

  1. Redirect from http://example.com:80/ to https://example.com:443/.

    Our implementation of the HTTP-01 challenge follows redirects, up to 10 redirects deep. It only accepts redirects to “http:” or “https:”, and only to ports 80 or 443.

  2. Use the DNS-01 challenge, instead. However...

    Since automation of issuance and renewals is really important, it only makes sense to use DNS-01 challenges if your DNS provider has an API you can use to automate updates.

Score:0
za flag

Yes, by using clients other than Certbot, you can do that using tls-alpn-01 challenge (as pointed above).

One alternative client which supports this is acme.sh. As you see in the description there, it is designed exactly to solve the problem you are facing.

Another "alternative client" which supports this challenge is built into the Caddy server.

ss flag
Similar to caddy is [Traefik](https://traefik.io/) which can be simpler to use in some environments.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.