简体   繁体   English

Linux等效于Windows证书库

[英]Linux equivalent for the Windows certificate store

Is there any fixed or known location for storing certificates in Linux, something like the Windows certificate store? 是否存在用于在Linux中存储证书的固定或已知位置,例如Windows证书存储区?

Thanks. 谢谢。

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. 对于用户SSH密钥,请在名为.ssh的隐藏文件夹中使用用户的主文件夹。

/home/user/.ssh

OR 要么

~/.ssh

For webservers like apache, you can override the default location of certificates found in httpd.conf. 对于像apache这样的Web服务器,您可以覆盖httpd.conf中找到的证书的默认位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM