Creating a Secret

To store the server certificate, private key, and the corresponding password in a secret, based on the sample certificates available in the EMS package under ems/version/samples/certs:

> cd …/ems/<version>/samples
> oc create secret generic tibemsd-secret \
     --from-file=server.cert.pem=certs/server.cert.pem \
     --from-file=server.key.pem=certs/server.key.pem \
     --from-literal=ssl_password=password

Check the result using these commands:

> oc describe secret tibemsd-secret
> oc get -o yaml secret/tibemsd-secret