Where Are Pem Files Stored in Linux?
Contents So You’ll See That All Certificates Are in /Usr/Share/Ca-Certificates. However the Default Location for Certificates Is /Etc/Ssl/Certs. You Might Find...
Contents
So you’ll see that all certificates are in /usr/share/ca-certificates . However the default location for certificates is /etc/ssl/certs . You might find additional certificates there.
Where can I find PEM file?
The pem key (private key) file is on your local PC. The EC2 machine has only the public key. If you want to scp from one EC2 to another EC2 instance that are launched using the same keypair, you have to transfer your pem key file to one of your EC2 machines.
Must Read
Where are certificates stored in Linux?
The right place to store your certificate is /etc/ssl/certs/ directory.