Linux equivalent for the Windows certificate store

2019-03-09 20:06发布

问题:

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

Thanks.

回答1:

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.