Actions
Bug #13383
closedCertificates cannot be created via csr in the Certificate Manager
Start date:
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.6.x
Affected Architecture:
All
Description
Certificates cannot be created via csr in the Certificate Manager since version 2.6.2. The introduced regex seems to have an incorrect syntax, which always leads to the "The field 'State or Province' contains invalid characters." error.
Source: https://github.com/pfsense/pfsense/blob/RELENG_2_6_0/src/usr/local/www/system_camanager.php#L208
Current pattern:
/[^a-zA-Z0-9\ \'\/~`\!@#\$%\^&\*\(\)_\-\+=\{\}\[\]\|;:"\<\>,\.\?\\\]/
Should be (one backslash removed):
/[^a-zA-Z0-9\ \'\/~`\!@#\$%\^&\*\(\)_\-\+=\{\}\[\]\|;:"\<\>,\.\?\\]/
Updated by B P over 2 years ago
Sorry, 2.6 of course. Not 2.6.2 :-)
Seems src/usr/local/www/system_certmanager.php is also affected.
Updated by Jim Pingle over 2 years ago
- Status changed from New to Feedback
- Assignee set to Jim Pingle
I cannot reproduce this. I can create a CSR and sign it without error.
We'll need to know the exact input you are using which fails the validation.
Updated by Jim Pingle almost 2 years ago
- Status changed from Feedback to Rejected
Closing for lack of response and not being able to reproduce the problem.
Actions