My application has a home page(port 80) and a landing page (after login on
port 443). Clicking on login in the home page initiates a CLIENT_CERT
authentication.
I have configured Apache 2.2 with mod_jk1.2.31 and mod_ssl for the above
requirement and everything works fine.

Now I need to do away with port 80 and make the home page on one-way SSL.
Which means, user gets to the home page on SSL port 442 (
https://localhost:442/app/home) and when user clicks on login, the request
is sent to port 443 (https://localhost:443/app/landing).

I tried adding a new SSL port 442 with SSLVerifyClient as none. User gets to
the home page but on clicking login, the browser shows the message "No
client certificate chain in this request" error.

What could possibly be wrong with the configuration.

The configuration of the second SSL port:
Listen 442
NameVirtualHost *:442
<VirtualHost *:442>
    JKMountCopy On
    DocumentRoot "C:/Apache2.2/htdocs"
    ServerName localhost
    SSLEngine on
    SSLCertificateFile "C:/Apache2.2/conf/cert/localhost_public.pem"
    SSLCertificateKeyFile "C:/Apache2.2/conf/cert/localhost_private_pem.key"
    SSLCACertificateFile "C:/Apache2.2/conf/cert/localhost_cacert.pem"
    SSLVerifyClient none
</VirtualHost>

Reply via email to