Веб-сервер Apache: параметры SSL для проверки сертификата клиента p12 ⇐ Apache
Веб-сервер Apache: параметры SSL для проверки сертификата клиента p12
I am trying to make an Apache Web Server where when a user connects to it, it requests a p12 certificate from the user.
My config file:
Listen 443 ServerName 127.0.0.1:443 SSLVerifyClient optional_no_ca SSLCACertificateFile /var/www/html/ssl/ServerCAList.pem SSLVerifyDepth 10 SSLCertificateChainFile /var/www/html/ssl/package.pem SSLCertificateFile /var/www/html/ssl/website.cert SSLCertificateKeyFile /var/www/html/ssl/package.pem SSLCACertificatePath /var/www/html/ssl/ When I try the above config file (even putting all of the SSL options in a tag), I expect a certificate popup to appear on the user side, but nothing shows up and I get an "ERR_SSL_PROTOCOL_ERROR" when connecting via HTTPS. HTTP is fine though, but I want what I explained above.
This question helps me by using httpd-ssl.conf but now I am getting ERR_BAD_SSL_CLIENT_AUTH_CERT when connecting and giving the certificate.
Does anyone know how to fix this?
Источник: https://stackoverflow.com/questions/781 ... ertificate
I am trying to make an Apache Web Server where when a user connects to it, it requests a p12 certificate from the user.
My config file:
Listen 443 ServerName 127.0.0.1:443 SSLVerifyClient optional_no_ca SSLCACertificateFile /var/www/html/ssl/ServerCAList.pem SSLVerifyDepth 10 SSLCertificateChainFile /var/www/html/ssl/package.pem SSLCertificateFile /var/www/html/ssl/website.cert SSLCertificateKeyFile /var/www/html/ssl/package.pem SSLCACertificatePath /var/www/html/ssl/ When I try the above config file (even putting all of the SSL options in a tag), I expect a certificate popup to appear on the user side, but nothing shows up and I get an "ERR_SSL_PROTOCOL_ERROR" when connecting via HTTPS. HTTP is fine though, but I want what I explained above.
This question helps me by using httpd-ssl.conf but now I am getting ERR_BAD_SSL_CLIENT_AUTH_CERT when connecting and giving the certificate.
Does anyone know how to fix this?
Источник: https://stackoverflow.com/questions/781 ... ertificate
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение