Skip to main content

Renewing SSL Certificates

Renew certificates manually on local machine, then distribute to local servers.

Install lego on Windows, run the command below to renew certificates.

set AWS_ACCESS_KEY_ID=<access key for Route 53 IAM user> \
set AWS_SECRET_ACCESS_KEY=<secret key for Route 53 IAM user> \
set AWS_REGION=eu-west-3 \
set AWS_HOSTED_ZONE_ID=<hosted zone ID> \
lego.exe --domains *.desertedchateau.com --domains desertedchateau.com --email youremail@somewhere.com --dns route53 --accept-tos=true run