Add organizational unit (ou) to CSR - j5 - 28.0 - Installation & Upgrade - Hexagon PPM

j5 Installation and Upgrade

Language
English (United States)
Product
j5
Search by Category
Installation & Upgrade
j5 Version
2019

As per the previous process there is no support for adding the -ou parameter to set the organizational unit when creating the CSR. However, you can generate the .csr file with the ou information included as follows:

  1. Copy the openssl template from C:\Program Files (x86)\j5\framework\packages\j5\Setup\templates\openssl.cnf.jinja2 and paste it somewhere convenient as openssl.cnf.

  2. Open openssl.cnf with a text editor, search for {{ FQDN }} and replace this string with the FQDN.

  3. Run openssl with the parameters given below, where everything in the <> brackets are replaced with the correct values:

    "C:\Program Files (x86)\j5\framework\apache2\bin\openssl" req -new -newkey rsa:4096 -nodes -sha256 -keyout j5-prod.key -out j5-prod.csr -config openssl.cnf -extensions v3_req -subj "/C=<country>/ST=<state>/L=<location>/O=<Organization>/OU=<Organizational Unit>/CN=<Subject Common Name>"