@Andre Reschke
Thank you for your post!
I reproduced your issue and found that the only restricted character within your official company name for the Subject (CN), is the +
symbol. I created a certificate with a dash -
in the Subject, but had to follow our Relative Distinguished Name (RDN) guidelines as noted within our Create and merge a certificate signing request in Key Vault documentation, these guidelines didn't work when using the +
symbol.
RDN Note:
If you're using a Relative Distinguished Name (RDN) that has a comma (,) in the value, wrap the value that contains the special character in double quotes.
Example: Subject: "CN=www.contosoHR-App.com"
From the error message we received Property policy.x509_props has invalid value. Invalid X.500 distinguished name
, I found an Intune article - Create and assign SCEP certificate profiles in Intune, which details known issues when creating Certificates with an Intune specific feature - Simple Certificate Enrollment Protocol (SCEP).
Avoid certificate signing requests with escaped special characters
There's a known issue for SCEP and PKCS certificate requests that include a Subject Name (CN) with one or more of the following special characters as an escaped character. Subject names that include one of the special characters as an escaped character result in a CSR with an incorrect subject name.
The special characters are:
+
, ,
, ;
, =
When your subject name includes one of the special characters, use one of the following options to work around this limitation:
- Encapsulate the CN value that contains the special character with quotes.
- Remove the special character from the CN value.
Based off our Intune and Key Vault certificate articles, I don't believe there's anyway to include the +
symbol into your CN. However, I've reached out to our Azure Key Vault engineering team to get their inputs, and will update as soon as possible.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
----------
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.