-
Generate private key
$> openssl genrsa 2048 > my-private-key.pem
-
Generate certificate using private key, you will be prompted to fill some fields. Fill required fields randomly, except for
Common Namefill it with*.amazonaws.comor your valid domain name$> openssl req -new -x509 -nodes -sha256 -days 365 -key my-private-key.pem -outform PEM -out my-certificate.pem -
Upload certificate & its private key to Amazon Certificate Manager
$> aws acm import-certificate --certificate file://my-certificate.pem --private-key file://my-private-key.pem -
Certificate should now show up in AWS Console for ALB
-
-
Save hkthanh89/b910287d1bab684fac37f7221bac7b94 to your computer and use it in GitHub Desktop.
Self Signed SSL Certificate for AWS Application Load Balancer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment