SSL connection fail: basic constraints check failed: this is not a CA certificate
Hi guys, I have a problem with https connection via F5:
(MY SERVER/ APP) ---https request----> F5 (irule which copy auth info to header) ------http request---> another app
Ive created keystore (jks file) on MY SERVER/ APP (using java keytool):
keytool -genkey -keyalg RSA -alias myAliasSelfSigned -keystore keystore-client.jks -storepass password -validity 7200 -keysize 2048
I`ve created VIP which use SSL Profile (client) with settings: Parent clientssl, certificate: default, Key: default, Chain : default, Trusted Certificate Authorities: default
Client Authentication: Client Certificate: request, Frequency: once, Cert Chain Traversal Depth: 9, Advertised Certificate Authorities: None.
After request from MY SERVER/ APP to F5 I get an exception: java.security.cert.CertPathValidatorException: basic constraints check failed: this is not a CA certificate
What is wrong with my configuration?