使用 SSL 证书限制访问
有没有办法限制对网站的访问,通过 cPanel 运行 Apache,使用 SSL(如 IIS/Windows 上的 CTL)?
IE,用户必须安装/颁发 ssl 证书才能访问该站点。
is there a way to restrict access to a website, running Apache via cPanel, using SSL (like CTLs on IIS/Windows)?
I.E, the user has to have an ssl certificate installed/issued to be able to access the site.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过 SSLRequire 指令,这当然是可能的。最简单的设置是制定
%{SSL_CLIENT_VERIFY} eq "SUCCESS"
。这还需要设置 SSLVerifyClient 和 SSLCACertificatePath,以及安装受信任的 CA 证书。This is certainly possible, through the SSLRequire directive. The most trivial setup is to formulate
%{SSL_CLIENT_VERIFY} eq "SUCCESS"
. This also requires settting SSLVerifyClient and SSLCACertificatePath, as well as to install the trusted CA certificates.