Closed henryx closed 9 months ago
Error is caused when the SSL certificate presented from the web server is related to an another domain (e.g. we have deployed Vault in Kubernetes but we haven't correctly configured the SSL ingress termination). Another reason because the problem is presented is the introduction of the new HTTPClient (see #24), which uses a different method to disable SSL check and doesn't have a simple method to disable it (see https://bugs.openjdk.org/browse/JDK-8213309)
Describe the bug
According to the documentation if we want disable SSL check, we need use the
verify(false)
method present inSslConfig
class. However, this causes the following error:To Reproduce
Use this configuration: