We are using Bitbucket datacenter 9.4.4 version as per recommendation from Atlassian we are installing 2.18.0 version tar file to install on Linux box.
Describe the issue:
Earlier we were using Elastic search now as per Atlassian recommendation we are moving towards Opensearch.
However we are stuck with certificate, as we have already have keystore PFX file can we utilize the certificate and what configuration steps to be followed.
Also which we run full steps mentioned under topic Configure TLS in the document Tarball - OpenSearch Documentation
@kiran.su The following certificates are required for the OpenSearch security plugin.
admin certificate - for super-admin user (securityadmin.sh) - client type certificate (EKU - clientAuth)
node certificate - client and server type certificate (EKU - serverAuth, clientAuth)
root certificate
You can generate more than one admin and node certificate. For security reasons number of admin certificates should be limited.
You can have per node certificate or use the same for all nodes. You can have separate certificates for http (EKU - clientAuth) and transport (EKU - serverAuth, clientAuth) communication.
The minimum is 1 node, 1 admin and 1 root certificates.
Regarding the sample script.
In this configuration you have separate node certificates for 2 node clusters, one admin certificate to use with securityadmin.sh, one client certificate to access the OpenSearch cluster as a regular user (certificate authentication must be enabled) and 1 root certificate.
The cleanup part removes only temporary files and csr (Certificate Sigining Request) files. You won’t need them to run security plugin.
I am following document however I am getting error while performing below step.
# Import certificates to truststore
Getting below error
[root@xxxxx config]# keytool -importcert -keystore truststore.jks -file root-ca.cer -storepass changeit -trustcacerts -deststoretype pkcs12
keytool error: java.io.FileNotFoundException: root-ca.cer (No such file or directory)
You have new mail in /var/spool/mail/root