Skip to content

Instantly share code, notes, and snippets.

@klevo
Created February 13, 2024 13:26
Show Gist options
  • Save klevo/888b3a97a917540425fb6c75720aff73 to your computer and use it in GitHub Desktop.
Save klevo/888b3a97a917540425fb6c75720aff73 to your computer and use it in GitHub Desktop.
Obtaining SSL certificates using Lego, Google CA and AWS Route53
# First get the keys for External Account Binding
gcloud publicca external-account-keys create
# Obtaining a certificate
AWS_HOSTED_ZONE_ID=Z01255342XLTM363R5MP8 lego \
--server 'https://dv.acme-v02.api.pki.goog/directory' \
-m '[email protected]' \
-d '*.example.com' \
--eab --kid 'xxxxxxx' \
--hmac 'xxxxxxx' \
--dns route53 --accept-tos=true run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment