Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get SSL certificate from ACM, using android aws sdk?

I am trying to retrieve SSL certificate from ACM, but unable to. I tried using the old aws-java-sdk-acm but it has a http client which is no more usable. Hence I am not able to fetch the certificate from the AWS. Please help me out as I dont see any option / acm methods in the latest aws sdk.

like image 991
Sidharth MA Avatar asked Nov 01 '25 09:11

Sidharth MA


1 Answers

What do you mean by "retrieve SSL certificate"? Do you want to pull the certificate with the private key? If so, please refer to John Hanley's answer.

If you just want the public portion of the certificate (what is served from a webserver, etc.), you can call ACM's GetCertificate to pull the certificate with chain.

like image 192
cheezone Avatar answered Nov 04 '25 01:11

cheezone