Hello,
I'm using Quarkus 2.1.0.Final and I am having aa PKIX path building failed error trying to package my application that uses SSL .
Here's how i set it up:
quarkus.http.insecure-requests=disabled
quarkus.http.ssl.certificate.key-file=META-INF/resources/ssl/myssl.key
quarkus.http.ssl.certificate.file=META-INF/resources/ssl/myssl_cert_1.crt
I am able to build and start the server on dev mode, but get this error when i want to package my application
[ERROR] com.
mypackage .GreetingResourceTest.testHelloEndpoint Time elapsed: 0.876 s <<< ERROR!
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.mypackage.GreetingResourceTest.testHelloEndpoint(GreetingResourceTest.java:15)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.mypackage.GreetingResourceTest.testHelloEndpoint(GreetingResourceTest.java:15)
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.mypackage.GreetingResourceTest.testHelloEndpoint(GreetingResourceTest.java:15)
Is there some configuration I'm missing?
Thank you,
Nweike