OpenShift® provides a default
certificate that is configured for the RQA
administrator dashboard and the RQA
widget. But the Red Hat OpenShift administrator can also
configure valid certificates for the RQA
administrator dashboard and the RQA
widget.
About this task
Obtain valid certificates from the certificate authority of the RQA
administrator dashboard and the RQA
widget that matches your custom hostname. You must have the certificate files and the private keys
available before you update the RQA
administrator dashboard and the RQA
widget routes with the certificates.
Procedure
Complete the following steps to create Transport Layer Security (TLS) secrets for the
RQA
administrator dashboard and the RQA
widget:
- Log in to the Red Hat OpenShift Container
Platform by using the Red Hat OpenShift command
line.
- Select the project where you want to install the RQA
instance.
You can run the following command:
oc project <project
name>
- Paste the Secure Sockets Layer (SSL) certificate and the private key in the RQA
project directory.
- Create secrets for the RQA
administrator dashboard and the RQA
widget by using the following commands:
oc create secret tls <dashboard>
--key=<dashboard.key> --cert=<dashboard.pem>
oc create secret tls
<widget> --key=<widget.key> --cert=<widget.pem>
See
Understanding secrets.
The secrets that you
created for the RQA
administrator dashboard and the RQA
widget are used when you create an RQA
instance.