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\ \'\/~`\!@#\$%\^&\*\(\)_\-\+=\{\}\[\]\|;:"\<\>,\.\?\\]/
Actions