Eureka Client PKIX Path Building Failed

0

Hello,

I have an application that I am running on RHEL. I have 4 servers. The application, the registry and two others. When I run the start script all of them run just fine except the registry. I can access it, but when I check the registered instances it does not see itself as UP, when I should be able to. I check the log and I am getting this

java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
        ... 34 common frames omitted
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

c.n.d.s.t.d.RedirectingEurekaHttpClient  : Request execution error. endpoint=DefaultEndpoint{ serviceUrl

javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

In my start script I am passing -Djavax.net.ssl.trustStorePassword and -Djavax.net.ssl.trustStore with their values passing as environment variables. In my trust store I have added the registry server certificate (which is its own server certificate. I have even added the root/intermediate certificates, and the other servers certificates) I still have this problem. I ensured the trust store is JKS. I verified that the certificates are valid, my pathing, and the spelling for any errors.

Like I said, the application starts and this is the only error.

What else can I do?

DMaras
질문됨 4달 전85회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠