简体   繁体   English

如果客户端未通过证书,https 连接的安全性如何

[英]How secure is the https connection if the client not passes certificate

We have a web server running on linux machine where we configured 'SSLVerifyClient' as 'require' in ssl.conf file.我们有一个在 linux 机器上运行的 Web 服务器,我们在 ssl.conf 文件中将“SSLVerifyClient”配置为“require”。

Does this needs client who is utilizing the service from web browser(like firefox or chrome) needs a certificate.这是否需要使用 Web 浏览器(如 firefox 或 chrome)服务的客户端需要证书。

If yes, then it is not possible to distribute client certificate to every user as there can be some thousands of users, how to overcome this problem.如果是,那么不可能将客户端证书分发给每个用户,因为可能有数千个用户,如何克服这个问题。

If no, then how the data passed over network is secure?如果不是,那么通过网络传递的数据如何安全? I know that certificate helps in encrypting data so that no one who don't have certificate can read data.我知道证书有助于加密数据,以便没有证书的人无法读取数据。

Please help me in clarifying my doubts请帮助我澄清我的疑惑

If you don't use client certificate, the https connection is still safe:如果不使用客户端证书,https 连接仍然是安全的:

  • Only the client and the server can read/write the content只有客户端和服务器可以读/写内容
  • The identity of the server is assured by a certificate authority服务器的身份由证书颁发机构保证

Client certificate only give you client authentication in the beginning of the connection.客户端证书仅在连接开始时为您提供客户端身份验证 To encrypt the data, the public key of the server is used in the beginning (See public key encryption).为了加密数据,一开始使用服务器的公钥(参见公钥加密)。

If you identify the client with cookies set after login/password submit, it is still safe: you have identify the client.如果您在登录/密码提交后使用设置的 cookie 识别客户端,它仍然是安全的:您已经识别了客户端。

When SSLVerifyClient is set to require, the client MUST pass a client certificate.当 SSLVerifyClient 设置为 require 时,客户端必须通过客户端证书。 You would generate these via OpenSSL, and sign them with a certificate authority that you install via SSLCACertificateFile.您将通过 OpenSSL 生成这些,并使用您通过 SSLCACertificateFile 安装的证书颁发机构对它们进行签名。

How you distribute those certificates is an issue you'll have to solve yourself.如何分发这些证书是您必须自己解决的问题。

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

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