View Issue Details

IDProjectCategoryView StatusLast Update
0001385CATS.cacert.orgResult Uploadpublic2015-05-15 18:04
ReporterTedAssigned ToTed 
PrioritynormalSeveritymajorReproducibilitysometimes
Status needs workResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001385: Since the installation of the new client certificate result upload is VERY unreliable
Description- Automatic upload (every 5 minutes) does not work at all
- Manually starting the script also does ot work
- When starting the script in Perl-Debugger it works most of the times

Relevant script is functions/UploadResults.pl

Problem started after installing the new client certificate:
Org client cert, Class 3, serial 157358 (0x266ae)

Previous certificate was same type (Org cert, Class 3, same keysize). The only difference (beyond the obvious ones for a new key) is the CN and OU:

Old cert:
CN=CAcert Assurer Testing System/emailAddress=cats@cacert.org
OU=CAcert Education Team

New cert:
CN=cats@cacert.org/emailAddress=cats@cacert.org
OU=Education
TagsNo tags attached.

Activities

Ted

2015-05-13 07:51

administrator   ~0005392

Since the script works at least sometimes, I don't think it's a problem of the certificate.

One of the known problems with the script, or maybe the whole API, is that no explicit error is reported when an expired certificate is used to connect. It seems that in this case the connection is closed without any response.

Maybe the problem is the handling of empty results of Net::SSLeay::ssl_read_CRLF, maybe there should be retries...

Ted

2015-05-13 08:04

administrator   ~0005393

Wytze reports that there are only very few calls to https://secure.cacert.org/cats/cats_import.php in the webserver log since the new certificate was installed (May 08).

The logged entries in fact coincide with my successful tests using the debugger...

Issue History

Date Modified Username Field Change
2015-05-13 07:31 Ted New Issue
2015-05-13 07:31 Ted Assigned To => Ted
2015-05-13 07:51 Ted Note Added: 0005392
2015-05-13 07:51 Ted Status new => needs work
2015-05-13 08:04 Ted Note Added: 0005393