I am trying to configure TLS client authentication (mutual auth) between an F5 BIG-IP and an Ubuntu server running Apache2. Unfortunately no matter what I try it keeps failing with the following message under /log/apache2/error.log:
[client 10.128.2.110:64689] AH01964: Connection to child 19 established (server testapplication.com:443)
[client 10.128.2.110:64689] AH02043: SSL virtual host for servername testapplication.com found
[client 10.128.2.110:64689] AH02275: Certificate Verification, depth 1, CRL checking mode: none [subject: CN=LAB-CA,DC=lab,DC=com / issuer: CN=LAB-CA,DC=lab,DC=com
[client 10.128.2.110:64689] AH02275: Certificate Verification, depth 0, CRL checking mode: none [subject: CN=F5-CERT,C=GB / issuer: CN=LAB-CA,DC=lab,DC=com
[client 10.128.2.110:64689] AH02008: SSL library error 1 in handshake (server testapplication.com:443)
SSL Library Error: error:140880AE:SSL routines:SSL3_GET_CERT_VERIFY:missing verify message
[client 10.128.2.110:64689] AH01998: Connection closed to child 19 with abortive shutdown (server testapplication.com:443)
Some basic stats:
Apache2 Version: Apache/2.4.7
OpenSSL version: Installed: 1.0.1f-1ubuntu2.22
BIG-IP version: 11.6.1
I have verified the certificate the F5 presents is using the correct certificate template (Client Authentication). Both certs at the F5 and Apache end are signed by the same CA. I have the following settings under my virtual hosts file:
SSLCACertificateFile /etc/apache2/certs/LAB-CA.crt
SSLVerifyClient require
SSLVerifyDepth 10
I'm a bit stumped at this point. This proof-of-concept is for a very important project for our customer so quite keen to have this nailed.
Thanks for your help.