I am trying to export a client certificate for use with a web browser.
The goal is to restrict access using the <Location> directive in the admin area. I have seen many tutorials on using self-signed CAs. How do you do this with a third party?
1) Do I need to include CA in client pfx if it is a trusted root certification authority? I have seen both examples.
Without CA:
openssl pkcs12 -export -inkey KEYFILENAME -in CERTFILEFILENAME -out XXX.pfx
With CA:
openssl pkcs12 -export -in my.crt- inkey my.key -certfile my.bundle -out my.pfx
2) Do I still need to enable the SSLCACertificateFile for the trusted CA in the httpd.conf configuration?
SSLVerifyClient none
SSLCACertificateFile conf/ssl.crt/ca.crt
<Location /secure/area>
SSLVerifyClient require
SSLVerifyDepth 1
</Location>
http://www.modssl.org/docs/2.8/ssl_howto.html#ToC8
Bryan
source
share