Project

General

Profile

Actions

Bug #11859

closed

PHP error on certificate list due to unreadable private key

Added by Jim Pingle almost 3 years ago. Updated almost 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 #1

Updated by Jim Pingle almost 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Jim Pingle almost 3 years ago

  • Plus Target Version set to 21.05
Actions #3

Updated by Jim Pingle almost 3 years ago

Already in 21.05 branch.

Actions #4

Updated by Jim Pingle almost 3 years ago

  • Status changed from Feedback to Closed

No errors with a corrupt key on current snapshot.

Actions #5

Updated by Jim Pingle almost 3 years ago

  • Target version changed from 2.6.0 to 2.5.2
Actions

Also available in: Atom PDF