Configure the Orient Me SSL settings to connect to an existing stand-alone Elasticsearch
instance.
Before you begin
If you installed Elasticsearch as part of the Component Pack for HCL
Connections™, skip this task because it does
not apply.
Procedure
-
To ensure a secure connection, retrieve the PKCS12 file and key password from the Elasticsearch
server.
-
Save the PKCS12 file as elasticsearch-orientme.p12 and the key password as
elasticsearch-key-password.txt.
-
Update kubernetes elasticsearch-secret with base64 encoded p12 and password by running the
following commands:
-
Backup the existing elasticsearch-secret:
$ kubectl get secret elasticsearch-secret -o yaml -n connections > elasticsearch-secret.yaml
-
Update elasticsearch-secret as follows:
$ kubectl create secret generic elasticsearch-secret -n connections --from-file=./elasticsearch-orientme.p12 --from-file=./elasticsearch-key-password.txt --dry-run -o yaml | kubectl apply -f -