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 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.

Where are certificates stored in Linux?

The right place to store your certificate is /etc/ssl/certs/ directory.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest