Hi,
I have two applications, application A is the client of application B and connecting is using io.vertx.core.http.HttpClient with the following options:
HttpClientOptions options = new HttpClientOptions()
.setSsl(true)
.setPemTrustOptions(new PemTrustOptions().addCertPath("ssl/cert.pem"))
.setDefaultHost(SERVER_HOST)
.setDefaultPort(SERVER_PORT)
.setKeepAlive(true)
.setReuseAddress(true)
.setTcpKeepAlive(true)
.setConnectTimeout(10000)
.setIdleTimeout(0)
.setReceiveBufferSize(212992)
.setSendBufferSize(212992)
.setMaxPoolSize(100);
Application B, which is the server, uses the following options:
HttpServerOptions options = new HttpServerOptions()
.setSsl(true)
.setPfxKeyCertOptions( new PfxOptions().setPath("ssl/server.pfx")
.setPassword(SSL_PASS));
The server certificate is a real certificate signed by a known CA.
The problem:
The certificate expired two weeks ago and the client still able to establish connection to the server.
Is there something missing in the client's configuration?
I'm not sure what happanning behind the scenes, can you point me to the code that checks the expiration date?
Thanks,
Shelly