This error code indicates that the cert the client presents is not chained to a root cert installed in the bundle specified in the client SSL profile’s trusted CA bundle field. You do need to combine the intermediate and root cert in one bundle in your LTM config under /config/ssl/ssl.crt (or via the GUI) and then set this in the client SSL profile. You can cat the files together to combine them:
thanks for the very prompt reply, this is what I did, have to wait for change to be approved before I can implement it. Hopefully this will resolve the issue and anyone else facing the same problem can follow the same steps.
1. Got the customer to send me their intermediate certificate. Namely from Thawte in my case. The format they sent is thawte.cer
2. I converted the certifcate form der/binary to standard pem, which is clear text (with begin cert end)
4. applied the copy.myca.bundle.crt to the client ssl profile defined for the trusted certificate authority to replace myca.bundle.crt
Will update if it work. What I don’t understand is why the client certificate suddenly not trusted when they didn’t change their certificate. They did however update on their machine the intermediate certificate.
In my log it looked like the cert count = 2, I am wondering did the client sent 2 certificates? 1st is their certificate and 2nd one is their intermediate certificate and those two are the one used by F5 to compare? Sorry for my ignorance about SSL certificate.
Thanks for the link, it does make it a lot clearer for me. Didn’t try the command as I don’t have the client cert only the trusted ca file that they gave me. The document does confirm the need to install the intermediate certificate into the bundle.
Found out about the 2 certificate as well (ssl::cert count = 2), one is the client certificate + one more from the issuing certificate authority (thawte)
It still puzzled me however why F5 suddenly do not trust the client certificate when they client didn’t change their certificate. At least they claimed they didn’t. They did however install an intermediate certificate on their server. Which looked like the second certificate sent across to F5.
Maybe F5 did not trust the intermediate certificate authority that they use.
i suspect ca file which is set as trusted ca in clientssl profile is not complete (cannot make chain of trust from client certificate to root certificate) same as Aaron.
i believe it would be easier if we can have the ca file and client certificate to check.
error 2 at 1 depth lookup:unable to get issuer certificate
install the verisign cert into the bundle and got it to work
client.crt : ok
note client cert is as follow
verisign
-- thawte
-----client.domain.cert
so looked like you need to install all the cert in the chain if it is missing in your current trusted cert namely
paste the cert from verisign & thawte into your current bundle. Tested it and it does not matter the order of you pasted them
namely cat verisign.crt >> mybundle.crt and then cat thawte.crt >> mybundle.crt
You need to view and export the certificate from der format to pem first to get it into clear text. The chain certificates comes together with the client cert.
This was a similar issue as bluepet’s where the root and multiple intermediate certs needed to be combined in a bundle for openssl verification to succeed.