I have a Bitbucket Data Center on a Linux VM in Azure and a remote OpenSearch on a Linux VM in Azure, both are in the same network.
OpenSearch is configured like in: Debian - OpenSearch Documentation
And Bitbucket Data Center is configured like in: Install and configure a remote OpenSearch server | Bitbucket Data Center 8.18 | Atlassian Documentation
When i´m using this on my bitbucket data center vm: "curl -X GET https://IP:9200 -u 'user:pw' --insecure" (with my own credentials, which i setuped), i get the right answer from the opensearch server.
But in Bitbucket i still have connection-result: CONNECTION_ERROR
This is the only thing i can find in the atlassian-bitbucket.log and i doesnt get it:
2024-02-21 14:21:05,499 DEBUG [I/O dispatcher 15] c.a.b.i.s.c.s.t.DefaultSearchConnectionTester Testing connection with search server failed due to exception:
java.util.concurrent.CompletionException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
And i dont know why.
Does anyone know or have some ideas?