Adding Certificate to CloudPak BAW component.
Steps
-
Extract the certificate of the server that needs to be added to BAW truststore.
Ex: echo | openssl s_client -connect <hostname>:<port> |\
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > certificate.crt
- Create the secret of the cert.
Ex: oc create secret generic cersecret--from-file=tls.crt=certificate.crt
- Now open the CR yaml file. Under Workflow_authoring_configuration update the secret names under tls like below.
- After updating the CR with the changes, apply it.
oc apply -f <CR>.yaml --overwrite=true
Wait till the icp4adeploy-workflow-authoring-baw-server-0 gets restarted with latest changes.