You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS Version: Linux Mint (Linux x64 4.15.0-109-generic)
Tomcat Extension Version: 0.11.2
Steps to Reproduce:
1.Go to Customize JVM options in Tomcat extension
2.Add -Djdk.internal.httpclient.disableHostnameVerification=true
3.Start WAR package (that contains an invalid cert)
The Output shows an entry
INFO: Command line argument: -Djdk.internal.httpclient.disableHostnameVerification=true
however I still get a SSLHandshakeException.
Running a separate test project under debugger produces same exception unless I put the following line into the Launch.json configuration.
Steps to Reproduce:
1.Go to Customize JVM options in Tomcat extension
2.Add -Djdk.internal.httpclient.disableHostnameVerification=true
3.Start WAR package (that contains an invalid cert)
The Output shows an entry
INFO: Command line argument: -Djdk.internal.httpclient.disableHostnameVerification=true
however I still get a SSLHandshakeException.
Running a separate test project under debugger produces same exception unless I put the following line into the Launch.json configuration.
"vmArgs": [
"-Djdk.internal.httpclient.disableHostnameVerification=true"
]
When re-running the test, the exception is gone.
Hence the command-line argument is not being applied to the Tomcat instance.
Regards
Alan
The text was updated successfully, but these errors were encountered: