View Issue Details

IDProjectCategoryView StatusLast Update
0001066Main CAcert Websitemiscpublic2013-07-16 17:05
ReporterJonathanL Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformDefaultOSanyOS Versionany
Summary0001066: White screen error during certificate creation with partially installed system (test jig setup, fix attached)
DescriptionIf for any reason you don't have the blacklist files and you try to make a certificate, you get white screen instead of correct error message.
Steps To ReproduceRemove (or omit) files /usr/share/openssl-blacklist/blacklist.RSA-*
Click through process to create a client certificate

error log will contain
PHP Fatal error: checkDebianVulnerability(): Blacklist for 2048 bit keys not accessible. Expected at /usr/share/openssl-blacklist/blacklist.RSA-2048 in /home/cacert/cacert-devel/includes/account_stuff.php on line 585

Web page will be blank

Correct behaviour is normal web page with message
"Something went wrong when processing your request. Please contact %s for help and provide them with the following ID: %d"
Additional InformationI'm documenting bugs which stop you setting up a test jig.

The log should help you find the correct solution, which is

apt-get install openssl-blacklist
TagsNo tags attached.
Reviewed by
Test Instructions

Activities

JonathanL

2012-06-02 11:00

reporter  

account_stuff.php.PATCH (437 bytes)   
diff --git a/includes/account_stuff.php b/includes/account_stuff.php
index 108bd57..4da55a7 100644
--- a/includes/account_stuff.php
+++ b/includes/account_stuff.php
@@ -582,7 +582,7 @@ function hideall() {
 			{
 				trigger_error("checkDebianVulnerability(): Blacklist for ".
 						"$keysize bit keys not accessible. Expected at ".
-						"$blacklist", E_USER_ERROR);
+						"$blacklist", E_USER_WARNING);
 				return null;
 			}
 			
account_stuff.php.PATCH (437 bytes)   

Issue History

Date Modified Username Field Change
2012-06-02 11:00 JonathanL New Issue
2012-06-02 11:00 JonathanL File Added: account_stuff.php.PATCH
2012-06-02 12:25 JonathanL Summary White screen error during certificate creation with misinstalled system (test jig setup, fix attached) => White screen error during certificate creation with partially installed system (test jig setup, fix attached)
2013-07-16 17:05 NEOatNHNG Project bugs.cacert.org => Main CAcert Website