How to Generate CSR with Special Characters
When filling out the Create a CSR (Certificate Signing Request) form (in Settings →
System → IPF Certificates), you can only use characters A-Za-z0-9.,/-_@%^:=+
in the following fields:
- Organization name
- Department
- City
- State / Province
This restriction is for security reasons.
Let’s consider an example where we enter Test Company with &
(please note that the character &
is not allowed) as the Organization name. After filling in the remaining fields, when we click Generate, an Invalid Input
error will be displayed.
If any special characters are required in any of the mentioned fields, you may use the following steps:
-
Fill out the Create a CSR (Certificate Signing Request) form, but avoid any special characters (in our example, we replaced
Test Company with &
withTest Company with
): -
Click Generate.
- In the browser, a file called
nimpee.csr
will be downloaded - please do not use this file. - The files
customer.conf
,customer.key
, andcustomer.csr
will be generated in the directory/opt/nimpee/conf.d/ssl-cust
on the IP Fabric appliance. It’s important to note thatcustomer.csr
will be identical tonimpee.csr
.
- In the browser, a file called
-
Log in to the IP Fabric CLI as the
osadmin
user. -
Change to
root
:sudo su
-
Change to the
/opt/nimpee/conf.d/ssl-cust
directory:cd /opt/nimpee/conf.d/ssl-cust
-
Remove
customer.key
andcustomer.csr
(will be re-generated in step 8):rm customer.key customer.csr
-
Modify
customer.conf
(for example withvi customer.conf
; in our example, we changedTest Company with
toTest Company with &
): -
Generate new
customer.key
andcustomer.csr
files using the modifiedcustomer.conf
:openssl req -new -config customer.conf -keyout customer.key -out customer.csr
-
Check the new
customer.csr
:openssl req -in customer.csr -noout -text
-
Download the new
customer.csr
(for example withscp
) for signing.
Once you have the signed SSL certificate ready, navigate to Settings → System → IPF Certificates and click Upload to begin the process of uploading the certificate.