regenerate test certificates for 2026
Categories
(Core :: Security: PSM, task)
Tracking
()
People
(Reporter: aryx, Assigned: aryx)
References
(Regressed 1 open bug)
Details
Attachments
(8 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
aryx
:
approval-mozilla-release?
|
Details | Review |
The test certificates expire on 2026-02-04 and security/manager/ssl/tests/unit/test_cert_expiration_canary.js will 3 weeks before on 2026-01-14 - tomorrow.
| Assignee | ||
Comment 1•11 days ago
|
||
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 2•11 days ago
|
||
Test will start failing on 2026-01-14 - 3 weeks before the checked certificate
expires.
Comment 4•11 days ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•10 days ago
|
||
Updated•9 days ago
|
Comment 8•9 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 days ago
|
| Assignee | ||
Comment 10•4 days ago
|
||
Certificates expire on 2027-02-04.
Extended with the instructions in security/manager/ssl/tests/unit/test_cert_expiration_canary.js
If this test and only this test fails, do the following:
- Create a bug for the issue in "Core :: Security: PSM".
- Write a patch to temporarily disable the test.
- Land the patch.
- Write a patch to reenable the test but don't land it.
- Needinfo the triage owner of Bugzilla's "Core :: Security: PSM" component
in the bug. - Patches to update certificates get created.
6.1. Update certificates in security/manager/ssl/tests/unit with
./mach generate-test-certs
6.2. Update more certificates with
./mach python build/pgo/genpgocert.py
6.3. Temporarily uncomment the code in security/manager/ssl/tests/unit/test_signed_apps/moz.build,
build Firefox with |./mach build| and copy the relevant non-build files
from the related object directory folder into this folder.
6.4. Update the certificate fingerprints mentioned in
security/manager/ssl/tests/unit/test_cert_override_read.js with
openssl x509 -noout -fingerprint -sha256 -in security/manager/ssl/tests/unit/bad_certs/certName.pem
6.5. Update the base64 encoded serial numbers of test-int.pem and other-test-ca.pem in
security/manager/ssl/tests/unit/test_cert_storage.js
6.5.1. Get the serial number value
openssl x509 -noout -in security/manager/ssl/tests/unit/bad_certs/test-int.pem -serial
6.5.2. base64 encode the hex value without the prefix
6.5.3. Update base64 encoded value in the test file. - Commit the changes: Mention the year of the update, the date of the
next expiration and add these instructions to the commit message. - Test the patches with a Try push.
- Land the patches on all trees whose code will still be used when the
certificates expire in 3 weeks.
Original Revision: https://phabricator.services.mozilla.com/D278888
Updated•4 days ago
|
Comment 11•4 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: no user impact but automated tests in our CI will start to fail on Feb 4
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Does not affect the build we ship
- String changes made/needed: no
- Is Android affected?: no
| Assignee | ||
Comment 12•4 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D279185
Updated•4 days ago
|
Updated•4 days ago
|
Updated•4 days ago
|
Comment 13•4 days ago
|
||
| uplift | ||
| Assignee | ||
Comment 14•1 day ago
|
||
Certificates expire on 2027-02-04.
Extended with the instructions in security/manager/ssl/tests/unit/test_cert_expiration_canary.js
If this test and only this test fails, do the following:
- Create a bug for the issue in "Core :: Security: PSM".
- Write a patch to temporarily disable the test.
- Land the patch.
- Write a patch to reenable the test but don't land it.
- Needinfo the triage owner of Bugzilla's "Core :: Security: PSM" component
in the bug. - Patches to update certificates get created.
6.1. Update certificates in security/manager/ssl/tests/unit with
./mach generate-test-certs
6.2. Update more certificates with
./mach python build/pgo/genpgocert.py
6.3. Temporarily uncomment the code in security/manager/ssl/tests/unit/test_signed_apps/moz.build,
build Firefox with |./mach build| and copy the relevant non-build files
from the related object directory folder into this folder.
6.4. Update the certificate fingerprints mentioned in
security/manager/ssl/tests/unit/test_cert_override_read.js with
openssl x509 -noout -fingerprint -sha256 -in security/manager/ssl/tests/unit/bad_certs/certName.pem
6.5. Update the base64 encoded serial numbers of test-int.pem and other-test-ca.pem in
security/manager/ssl/tests/unit/test_cert_storage.js
6.5.1. Get the serial number value
openssl x509 -noout -in security/manager/ssl/tests/unit/bad_certs/test-int.pem -serial
6.5.2. base64 encode the hex value without the prefix
6.5.3. Update base64 encoded value in the test file. - Commit the changes: Mention the year of the update, the date of the
next expiration and add these instructions to the commit message. - Test the patches with a Try push.
- Land the patches on all trees whose code will still be used when the
certificates expire in 3 weeks.
Updated•1 day ago
|
| Assignee | ||
Comment 15•1 day ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D279185
Updated•1 day ago
|
Comment 16•1 day ago
|
||
firefox-release Uplift Approval Request
- User impact if declined: no user impact but automated tests in our CI will start to fail on Feb 4
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Does not affect the build we ship
- String changes made/needed: no
- Is Android affected?: no
Updated•1 day ago
|
| Assignee | ||
Comment 17•1 day ago
|
||
Certificates expire on 2027-02-04.
Extended with the instructions in security/manager/ssl/tests/unit/test_cert_expiration_canary.js
If this test and only this test fails, do the following:
- Create a bug for the issue in "Core :: Security: PSM".
- Write a patch to temporarily disable the test.
- Land the patch.
- Write a patch to reenable the test but don't land it.
- Needinfo the triage owner of Bugzilla's "Core :: Security: PSM" component
in the bug. - Patches to update certificates get created.
6.1. Update certificates in security/manager/ssl/tests/unit with
./mach generate-test-certs
6.2. Update more certificates with
./mach python build/pgo/genpgocert.py
6.3. Temporarily uncomment the code in security/manager/ssl/tests/unit/test_signed_apps/moz.build,
build Firefox with |./mach build| and copy the relevant non-build files
from the related object directory folder into this folder.
6.4. Update the certificate fingerprints mentioned in
security/manager/ssl/tests/unit/test_cert_override_read.js with
openssl x509 -noout -fingerprint -sha256 -in security/manager/ssl/tests/unit/bad_certs/certName.pem
6.5. Update the base64 encoded serial numbers of test-int.pem and other-test-ca.pem in
security/manager/ssl/tests/unit/test_cert_storage.js
6.5.1. Get the serial number value
openssl x509 -noout -in security/manager/ssl/tests/unit/bad_certs/test-int.pem -serial
6.5.2. base64 encode the hex value without the prefix
6.5.3. Update base64 encoded value in the test file. - Commit the changes: Mention the year of the update, the date of the
next expiration and add these instructions to the commit message. - Test the patches with a Try push.
- Land the patches on all trees whose code will still be used when the
certificates expire in 3 weeks.
Updated•1 day ago
|
Updated•1 day ago
|
Updated•1 day ago
|
Updated•1 day ago
|
Updated•1 day ago
|
Comment 18•1 day ago
|
||
| uplift | ||
Description
•