Project

General

Profile

Actions

Bug #11859

closed

PHP error on certificate list due to unreadable private key

Added by Jim Pingle over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Certificates
Target version:
Start date:
04/27/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
21.05
Release Notes:
Default
Affected Version:
All
Affected Architecture:

Description

If a certificate private key is present, but corrupted and cannot be read, it can result in the following PHP error:

PHP Warning:  openssl_pkey_get_details() expects parameter 1 to be resource, bool given in /etc/inc/certs.inc on line 2178

To me, I have a fix.

Actions

Also available in: Atom PDF