-
Bug
-
Resolution: Done
-
Minor
-
RH-SSO-7.6.0, RH-SSO-7.5.0
-
False
-
None
-
False
-
-
-
In Red Hat Single Sign-On for OpenShift documentation, there is a section for creating keystores. These keystores are required to initialize sso76-https template of RH-SSO.
Under section "3.1.2. Creating HTTPS and JGroups Keystores, and Truststore for the Red Hat Single Sign-On Server" , wrong openssl command is shared in Step 4 of "Create the HTTPS keystore:" section.
Current step 4 is as follows:
Sign the certificate sign request with the CA certificate. Provide the same password that was used to generate the CA certificate:
$ openssl x509 -req <(printf "subjectAltName=DNS:secure-sso-sso-app-demo.openshift.example.com") -CA xpaas.crt -CAkey xpaas.key -in sso.csr -out sso.crt -days 365 -CAcreateserial
While executing above command, following error is observed
x509: Unknown parameter /dev/fd/63
Instead the command should be as follows:
$ openssl x509 -req -extfile <(printf "subjectAltName=DNS:secure-sso-sso-app-demo.openshift.example.com") -CA xpaas.crt -CAkey xpaas.key -in sso.csr -out sso.crt -days 365 -CAcreateserial
- mentioned on