Ich habe ein Problem mit Quarkus und Elasticsearch -Client, der keine Verbindung zu meinem Elasticsearch -Server mit aktivierter HTTPS (Security) herstellt.Caused by: javax.net.ssl.SSLHandshakeException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
< /code>
Ich habe mehrere Konfigurationen ausprobiert und keiner hat funktioniert.keytool -genkeypair -alias keystore -keyalg RSA -keysize 2048 -validity 7300 -keystore keystore.p12 -storetype PKCS12 -storepass somePassword
< /code>
und fügte die Konfiguration in YAML hinzu: < /p>
quarkus:
tls:
key-store:
p12:
path: /someAbsoultePath/keystore.p12
password: somePassword
< /code>
Keine davon hat funktioniert.>
Quakrus mit dem Elasticsearch -Client stellt keine Verbindung zum HTTPS -Elasticsearch -Server her ⇐ Java
-
- Similar Topics
- Replies
- Views
- Last post