Test certificates for libcore tests are not generated as part of testing.

Bug #1356781 reported by Pupu Toivonen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
New
Low
Unassigned

Bug Description

The test suite for libcore includes tests on certificates. To accommodate these tests the certificate file test/libcore/test_cert.pem is stored with the source code. The expiration of this certificate causes the associated tests, and hence hipl packaging scripts to fail.

I generated a new certificate that will expire on August 14. 2024.

Generating a short term disposable certificate as part of the test scripts would be a more permanent fix.

Generating a certificate:
$ openssl req -x509 -nodes -days 3653 -newkey rsa:1024 -keyout test/libcore/test_key.pem -out test/libcore/test_cert.pem

Checking the certificate:
$ openssl x509 -in test/libcore/test_cert.pem -text

Pupu Toivonen (scolphoy)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.