I have an application which uses the certificate from Java key store which is physically stored on ec2 machine.I want to use the certificate from ACM directly at runtime without storing it on ec2 server.

1

There are 1 best solutions below

2
On

You can't export AWS ACM certificates. From docs:

You cannot export a publicly trusted ACM certificate or its private key.

If you want to use them with your instances, you either have to front it with load balancer or CloudFront where you can deploy the ACM certs. Other options on how you can use ACM are listed here.