wiki:obtain_letsencrypt_certificate_domain_multiple_ips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:obtain_letsencrypt_certificate_domain_multiple_ips [2023/03/13 12:52] – [Obtain letsencrypt certificate for domain with multiple IPs] add DNS info antisa | wiki:obtain_letsencrypt_certificate_domain_multiple_ips [2023/03/20 12:32] (current) – [Obtain letsencrypt certificate for domain with multiple IPs] update info antisa | ||
---|---|---|---|
Line 19: | Line 19: | ||
} | } | ||
+ | </ | ||
+ | |||
+ | Config from " | ||
+ | <code nginx> | ||
server { | server { | ||
server_name letsencrypt.example.com; | server_name letsencrypt.example.com; | ||
Line 28: | Line 32: | ||
} | } | ||
</ | </ | ||
- | |||
- | |||
- | <WRAP center round todo 60%> | ||
- | The DNS for letsencrypt.example.com should point to all IPs e.g. | ||
- | |||
- | letsencrypt.example.com 86400 A 10.10.10.10 | ||
- | letsencrypt.example.com 86400 A 10.10.10.20 | ||
- | </ | ||
Now when fetching the certificates for example.com, | Now when fetching the certificates for example.com, | ||
- | |||
- | |||
Then you can setup something like rsync to copy the certs from the primary server to other servers if there is something like DNS load balancing. | Then you can setup something like rsync to copy the certs from the primary server to other servers if there is something like DNS load balancing. | ||
+ | <WRAP center round help 60%> | ||
+ | Both above domains don't have to point to the same IP (server) | ||
+ | </ | ||
====== Tested on ====== | ====== Tested on ====== | ||
Line 55: | Line 51: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * [[https:// | ||
+ | |||
wiki/obtain_letsencrypt_certificate_domain_multiple_ips.1678711941.txt.gz · Last modified: 2023/03/13 12:52 by antisa