Adding an IP address to a certificate? #2987
Answered
by
ldez
johanneskastl
asked this question in
Q&A
|
Dear all, I am using Lego a lot in my homelab. One of the services I need a certificate for requires the service's IP address to be included in the certificate in addition to the hostname(s). I failed to find a hint in the lego documentation on whether this is possible and if so, how to accomplish that. Do I just add the IP as a separate Kind Regards, |
Answered by
ldez
Apr 18, 2026
Replies: 1 comment 1 reply
|
Hello, lego supports the RFC 8738 (issues certificates for IP addresses). The flag |
1 reply
Answer selected by
johanneskastl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
lego supports the RFC 8738 (issues certificates for IP addresses).
The flag
--domainsaccepts IPs, so yes just add them.