Linux equivalent for the Windows certificate store

user360455 picture user360455 · Nov 24, 2010 · Viewed 36.3k times · Source

Is there any fixed or known location for storing certificates in Linux, something like the Windows certificate store?

Thanks.

Answer

Eddie picture Eddie · Nov 24, 2010

Yes, for system certificates, use

/etc/ssl/certs

AND

/etc/ssl/private (chmod 700)

For user SSH keys use the user's home folder, in a hidden folder named .ssh.

/home/user/.ssh

OR

~/.ssh

For webservers like apache, you can override the default location of certificates found in httpd.conf.