Vineeth Rai k
Vineeth Rai k

Reputation: 3

How can i use greenlock(Let's Encrypt) to secure npm smtp-server

The Greenlock project does not allow the use of ports other than 80 and 443, for the SMTP server we don't use those ports

I searched for options to change ports for Greenlock but could not find them. I don't want to buy TLS certificates, and there is already a service running at ports 80 and 443 so they are off-limits.

Upvotes: 0

Views: 35

Answers (1)

Max
Max

Reputation: 11000

This isn't really a client limitation, it's a server limitation.

ACME issuers will not communicate over ports other than 80 or 443. You will need to find a new solution. For example, you could attempt to use DNS-01, if you have a way to update your DNS records instead, or you will need to do your updates on another server you do control, then move the certificate files.

Let's Encrypt maintains a list of Challenge Types that explain the options you have.

Note: even if there is another server running on the HTTP port, as long as it can serve a file in /.well-known/acme-challenge/ it could be used. The protocol is not difficult.

Upvotes: 0

Related Questions