CSR is not accepted (encountering ‘CSR invalid’ errors) during certificate activation

CSR is not accepted (encountering 'CSR invalid' errors) during certificate activation

There could be various reasons for encountering an “Invalid CSR"កំហុស។

How to fix ‘CSR invalid’ errors

Here are the main points you need to pay attention to when generating a CSR:

ជំហានទី 1

You should be using an FQDN (Fully Qualified Domain Name) as a ឈ្មោះទូទៅ (in some control panels it can also be called ឈ្មោះម៉ាស៊ីន or ឈ្មោះដែន) -e..g. domain.com or anything.domain.com. The hostname should be listed without http:// at the beginning. This should not be an intranet hostname (something.local) or an IP address. Local hostnames and IP addresses require a specific type of certificates that we do not have available at the moment.

ជំហានទី 2

Characters in the CSR should be អក្សរក្រមលេខ, no special characters should be used [! @ # $ % ^ ( ) ~ ? > < & / \ , . ” ‘ _] If you are using a password for your CSR/RSA pair, please make sure there are no special characters in the password as well.

ជំហានទី 3

Country code should be a valid អាយអេសអូ 3166-1 two-letter code (e.g. US, AU, CA). If you are located in the United Kingdom, your country code will be «GB» instead of «UK». The country code should be listed as two រដ្ឋធានី អក្សរ។

ជំហានទី 4

Make sure you have included the header and footer of the CSR into the enrollment form. The header and footer will look like:

—–BEGIN CERTIFICATE REQUEST—–encoded data—–END CERTIFICATE REQUEST—–

ជំហានទី 5

There have to be 5 dashes on each side of Begin and End certificate request. There should also be no trailing spaces in the CSR.

ជំហានទី 6

Your CSR code length should be at least 2048 ប៊ីត.

ជំហានទី 7

អ្នក​គួរ​តែ​មាន no SAN (Subject Alternative Names) within your CSR code if you are using a non-UCC certificate.

ជំហានទី 8

In most cases during CSR generation you also receive an RSA Private key (starts with —–BEGIN RSA PRIVATE KEY—–). You don’t need to include it into the CSR field. The RSA Private key should be saved, as it is required during SSL installation.

ជំហានទី 9

Before pasting CSR into the field paste it into a simple text editor (notepad, textedit) to make sure formatting is correct.

ជំហានទី 10

If you are renewing your certificate, your ឈ្មោះទូទៅ ត្រូវតែជា ដូច​គ្នា as the original one – the ឈ្មោះដែន should not be changed. Though, for certificates reissuance, it is possible to use another domain name or another subdomain to have the certificate reissued for it.