Linux equivalent for the Windows certificate store

柔情痞子 提交于 2019-11-30 11:55:42

问题


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.



来源:https://stackoverflow.com/questions/4267573/linux-equivalent-for-the-windows-certificate-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!