The security certificate (CloudSearchService.cer) can be downloaded only for security clusters that have enabled HTTPS access. Most software supports certificates in the .pem or .jks format. You need to convert the format of the CSS security certificate.
openssl x509 -inform der -in CloudSearchService.cer –out newname.pem
keytool -import -alias newname -keystore ./truststore.jks -file ./CloudSearchService.cer
In the preceding commands, newname indicates the user-defined certificate name.
After the command is executed, set the certificate password and confirm the password as prompted. Securely store the password. It will be used for accessing the cluster.