• Skip to main content

Uly.me

cloud engineer

  • Home
  • Archives
  • Search

certificate manager

Certbot AWS Renewals

May 27, 2019 by Ulysses

Here are the instructions for renewing Certbot SSL certificates in AWS Certificate Manager. Certbot provides SSL certificates for free for 60 days and are auto-renewed before they expire. If you are using Certbot SSL certificates with CloudFront, you will need to reimport them to AWS Certificate Manager before expiration.

  1. Get the latest SSL certificate by running “certbot certificates.”
  2. Reimport the certificate in 3 parts.
    • Certificate Body – the root or top portion of the full chain
    • Certificate Private key – the private key
    • Certificate chain – the entire full chain containing multiple certificates
  3. Click Save. Check expiration.

You’ll need to update the certificate before the next expiration date.

Filed Under: Cloud Tagged With: aws, certbot, certificate manager, import, renewal, ssl

Certificate Management Import

January 4, 2019 by Ulysses

My previous post lightly talked about about adding SSL certificates via the AWS Console. This post talks about adding your own SSL certificate to Certificate Manager via the AWS CLI. The CLI which makes it super simple to manage. It also allows for automation as well.

aws acm import-certificate \
--certificate fileb://Certificate.pem \
--certificate-chain fileb://CertificateChain.pem \
--private-key fileb://PrivateKey.pem

aws acm import-certificate \ --certificate fileb://Certificate.pem \ --certificate-chain fileb://CertificateChain.pem \ --private-key fileb://PrivateKey.pem

If successful, it will return ARN or Amazon Resource Name.

Filed Under: Cloud Tagged With: aws cli, certificate, certificate manager, ssl

  • Home
  • About
  • Contact

Copyright © 2022