Describe the bug
According to the documentation if we want disable SSL check, we need use the verify(false) method present in SslConfig class. However, this causes the following error:
Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative DNS name matching vault.domain.local found.
To Reproduce
Use this configuration:
final VaultConfig vaultConfig = new VaultConfig()
.address("https://vault.domain.local")
.token("mock_token")
.sslConfig(new SslConfig().verify(false))
.engineVersion(1)
.build();