SSL Certificate Issue #8616
-
I have two micronaut services, and I m using self signed true, in order to communicate both services. When I was using micronaut 2.3.3 , everything was fine. But switching to 3.7.5 is giving certificate_unknow exception PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target In first micronaut service my config looks like In second micronaut service my config looks like Please let me know what extra thing I m missing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Are you using the Micronaut HTTP client? You may have to set the |
Beta Was this translation helpful? Give feedback.
Are you using the Micronaut HTTP client? You may have to set the
micronaut.http.client.ssl.insecure-trust-all-certificates
property. But be aware, this basically defeats the point of using SSL in the first place, so you may want to just switch to HTTP.