Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Certificate Manager - How to download public key?

I created an SSL Certificate using AWS Certificate manager to use on our EB Load Balancer.

We have a device that needs the public certificate to communicate over HTTPS. I know AWS holds the private key, is it possible to download the public key?

like image 745
theartofbeing Avatar asked Dec 11 '25 14:12

theartofbeing


1 Answers

The AWS ACM does not provide an API to download the public key of an ACM SSL certificate.

However, once you have your ACM certificate setup on an ELB or CloudFront, the public key will be served when you connect to it via HTTPS. From there, you may be able to save the public key.

Try using OpenSSL to get and save the key:

openssl s_client -connect the.host.name:443 | openssl x509 -pubkey -noout

Source: https://security.stackexchange.com/questions/16085/how-to-get-public-key-of-a-secure-webpage

like image 131
Matt Houser Avatar answered Dec 15 '25 02:12

Matt Houser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!