Open minhaj86 opened 2 years ago
According to https://vertx.io/docs/vertx-config/java/#_spring_config_server_store, you need to configure SSL/TLS set up in httpClientConfiguration
of your configuration.
And I don't see any trustOptions
set up in your code? do you have the peer certificate installed in your JDK?
Tried with httpClientConfiguration, something like this:
.setConfig(new JsonObject() .put("url", url) .put("timeout", 60000L) .put("httpClientConfiguration", new JsonObject() .put("trustAll", true) .put("ssl", true)));
But still doesn't work.
Any update on this?
A reproducer would be helpful to identity the issue. the exception stack trace etc.
Questions
Vertx config retriever does not work with spring-cloud-config server with HTTPS even if the spring-cloud-config server is configured with proper certificate (not self signed) . Underlying exception says "Connection closed"
Sample code:
Version
4.3.3