Project

General

Profile

Actions

Bug #1437

closed

More validation needed on CSR generation

Added by Yehuda Katz over 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Certificates
Target version:
Start date:
04/14/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

It appears that if the countryName in the requested subject is not recognized by openssl, it throws these two errors (which show up at the top of the webconfigurator).
Warning: openssl_csr_new(): dn: add_entry_by_NID 14 -> _COUNTRY_NAME_ (failed) in /etc/inc/certs.inc on line 258
Warning: openssl_csr_export() expects parameter 1 to be resource, boolean given in /etc/inc/certs.inc on line 262

It appears to create a self signed cert, but I am not sure if that works.

Actions

Also available in: Atom PDF