Apache做双向认证
来源:互联网 发布:linux命令行界面字体 编辑:程序博客网 时间:2024/04/29 21:18
一、放开/Apache/conf/htppd.conf中
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf 前面的注释
二、修改\Apache2.2\conf\extra下的httpd-ssl.conf
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. Keep
# in mind that if you have both an RSA and a DSA certificate you
# can configure both in parallel (to also allow the use of DSA
# ciphers, etc.)
SSLCertificateFile "C:/cert/server.crt"
#SSLCertificateFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/server-dsa.crt"
# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile "C:/cert/server.key"
#SSLCertificateKeyFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/server-dsa.key"
# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convenience.
SSLCertificateChainFile "C:/cert/ca.crt"
#SSLCertificateChainFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/server-ca.crt"
其中
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
SSLVerifyClient require
#SSLVerifyDepth 10
取消注释表示双向认证
配置客户端认证证书
# Certificate Authority (CA):
# Set the CA certificate verification path where to find CA
# certificates for client authentication or alternatively one
# huge file containing all of them (file must be PEM encoded)
# Note: Inside SSLCACertificatePath you need hash symlinks
# to point to the certificate files. Use the provided
# Makefile to update the hash symlinks after changes.
SSLCACertificatePath "C:/cert"
SSLCACertificateFile "C:/cert/yanzheng.crt"
- Apache做双向认证
- apache做双向认证反向代理
- Apache OpenSSL 双向认证
- tomcat 做双向认证
- Apache 开启Https双向认证
- Wamp apache 配置 Https 双向 认证 全过程
- apache配置双向ssl认证(笔记)
- apache双向HTTPS SSL认证配置
- window apache+openssl双向认证配置
- Apache下配置https双向认证
- Apache httpd设置HTTPS双向认证
- Android做客户端,PC做服务器端,SSLSocket通信,双向认证
- Apache移植及openssl实现SSL单/双向认证
- Centos6.3下apache实现SSL虚拟主机双向认证
- 双向认证第一步:Mac OS X中Apache开启ssl
- apache+openssl设置https单向认证和双向认证以及反向代理
- 备忘-使用OpenLDAP做apache用户认证
- HTTPS双向认证、UIWebView的双向认证
- 数据可视化简单理解
- iOS真机调试沙盒系统查看
- hdu4089Activation 概率dp
- 把cvs项目或者新建项目上传到git服务器或下拉(自己的习惯操作)
- 欢迎使用CSDN-markdown编辑器
- Apache做双向认证
- 收藏网站61
- nginx中http指定子目录转到https
- PSI/SI深入学习2——PSI信息解析(PAT,PMT,CAT)
- 558C Amr and Chemistry
- 11. JavaScript 对象
- 关于bitmap recycle trying to use a recycled bitmap android.graphics.Bitmap
- List 集合remove问题
- 虚幻4的智能指针