j.n.ConnectException: General SSLEngine problem


Request the guru’s to advice me on the following error**: j.n.ConnectException: General SSLEngine** problem and the following things has been followed. Please kindly suggest or advice me what needs to be taken care of.

In SoapUI the posting the soap request with attaching the keystore works.

In Gatling :

  • Gatling.conf configure for the ssl → Keystore with appropriate parameters.

  • Set system properties in Gradle.build and gradle.properties


ssl {
  keyStore {
    type = "JKS"      # Type of SSLContext's KeyManagers store
    file = "C:\\Program Files\\Java\\jre1.8.0_181\\lib\\security\\client.keystore"      # Location of SSLContext's KeyManagers store
    password = "STEALTH*1234"  # Password for SSLContext's KeyManagers store
    #algorithm = "" # Algorithm used SSLContext's KeyManagers store


Finally it solved.

Had to import the cert file of the server to java cacerts keystore.

Can you send the instruction what you did to resolve this issue please if possible ?