client 访问apache,apache配置双向认证参数:
#Mutual TLS authentication
SSLVerifyClient require
SSLVerifyDepth 2 深度,客户端证书到根证书的深度
SSLCACertificateFile /etc/pki/tls/certs/abcgkmangcn/rootca.crt (客户端证书对应的根证书)
nignx+apache 之间双向认证
apache配置
[root@i-3pedyvud ~]# cat /etc/httpd/conf.d/nextcloud.conf
<VirtualHost *:8088>
ServerName 2b.gkmang.cn
ServerAdmin [email protected]
DocumentRoot /var/www/html/nextcloud
<directory /var/www/html/nextcloud>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
SetEnv HOME /var/www/html/nextcloud
SetEnv HTTP_HOME /var/www/html/nextcloud
&