Windows证书存储区的Linux等效文件 [英] Linux equivalent for the Windows certificate store

查看:138
本文介绍了Windows证书存储区的Linux等效文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Linux(例如Windows证书存储区)中是否存在用于存储证书的固定或已知位置?

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

谢谢.

推荐答案

是的,对于系统证书,请使用

Yes, for system certificates, use

/etc/ssl/certs

AND

/etc/ssl/private (chmod 700)

对于用户SSH密钥,请使用用户的主文件夹,该文件夹位于名为.ssh的隐藏文件夹中.

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

/home/user/.ssh

OR

~/.ssh

对于apache之类的网络服务器,您可以覆盖在httpd.conf中找到的证书的默认位置.

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

这篇关于Windows证书存储区的Linux等效文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆