Project

General

Profile

Actions

Bug #13383

closed

Certificates cannot be created via csr in the Certificate Manager

Added by B P over 2 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Certificates
Target version:
-
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

Also available in: Atom PDF