HTTPS request throws the following error.
Wrapped by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targe
"Default Gatling TrustStore is very permissive and doesn't validate certificates, meaning that it works out of the box with self-signed certificates."
Can I run a Test with outhaving to provide TrustStore...? Jmeter accepts self signed certs without having to provide TrustStore.!
Am I miisng any thing in my configuration..?
acceptAnyCertificate = true
httpsEnabledProtocols = "TLSv1.2"
ssl {
trustStore {
#type = "" # Type of SSLContext's TrustManagers store
#file = "" # Location of SSLContext's TrustManagers store
#password = "" # Password for SSLContext's TrustManagers store
#algorithm = "" # Algorithm used by SSLContext's TrustManagers store
}
keyStore {
type = "JKS" # Type of SSLContext's KeyManagers store
file = "C:/Vividh/keys/lp3_ret.jks" # Location of SSLContext's KeyManagers store
password = "synth" # Password for SSLContext's KeyManagers store
#algorithm = "" # Algorithm used SSLContext's KeyManagers store
}
}