• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

READMEH A D01-Sep-20191.2 KiB3222

alternateroot.caH A D01-Sep-20191.1 KiB1918

alternateroot.ca.keyspecH A D01-Sep-201910 21

alternateroot.certspecH A D01-Sep-2019209 87

bug413909cert.certspecH A D01-Sep-2019232 43

dynamicPinningBad.certspecH A D01-Sep-2019219 65

dynamicPinningBad.server.keyspecH A D01-Sep-201910 21

dynamicPinningGood.certspecH A D01-Sep-2019255 43

escapeattack1.certspecH A D01-Sep-2019212 43

evintermediate.caH A D01-Sep-20191.6 KiB2726

evintermediate.certspecH A D01-Sep-2019536 87

expired.certspecH A D01-Sep-2019215 54

imminently_distrusted.certspecH A D01-Sep-2019261 54

mochitest.certspecH A D01-Sep-2019147 43

mochitest.client.keyspecH A D01-Sep-20198 21

pgoca.caH A D01-Sep-20191.2 KiB2221

pgoca.ca.keyspecH A D01-Sep-20198 21

pgoca.certspecH A D01-Sep-2019312 65

selfsigned.certspecH A D01-Sep-2019120 43

sha1_end_entity.certspecH A D01-Sep-2019218 54

sha256_end_entity.certspecH A D01-Sep-2019224 54

staticPinningBad.certspecH A D01-Sep-2019195 65

staticPinningBad.server.keyspecH A D01-Sep-201910 21

unknown_ca.certspecH A D01-Sep-2019134 65

untrusted.certspecH A D01-Sep-2019103 43

untrustedandexpired.certspecH A D01-Sep-2019146 54

README

1The certificate authority and server certificates here are generated by
2$topsrcdir/build/pgo/genpgocert.py.
3
4You can regenerate the certificates by running: ./mach python
5build/pgo/genpgocert.py
6
7To add a new CA, add a ${cert_name}.ca.keyspec as well as a corresponding
8${cert_name}.certspec to this folder.
9
10To add new server certificates, add a ${cert_name}.certspec file to this folder.
11If it needs a non-default private key, add a corresponding
12${cert_name}.server.keyspec.
13
14For new client certificates, add a ${cert_name}.client.keyspec and corresponding
15${cert_name}.certspec.
16
17The naming convention here is because the generated ".client" and ".ca" PEM
18files need to be copied into this folder for Mochitests' runtests.py to import.
19
20These commands will modify cert9.db and key4.db. The changes to these should be
21committed.
22
23Specific notes for certs:
24
25  dynamicPinningGood: Changing this keyspec will require changing
26  browser/base/content/test/general/pinning_headers.sjs . You can obtain a new
27  valid pin via:
28
29  certutil -L -d . -n dynamicPinningGood -r | openssl x509 -inform der -pubkey \
30  -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary \
31  | openssl enc -base64
32