Closed
Bug 966060
Opened 11 years ago
Closed 11 years ago
Distrust three VeriSign intermediate certificates
Categories
(NSS :: CA Certificates Code, task)
NSS
CA Certificates Code
Tracking
(Not tracked)
RESOLVED
FIXED
3.16
People
(Reporter: rick_andrews, Assigned: cviecco)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; MS-RTC LM 8)
Steps to reproduce:
We have a partner that has terminated operations, so we have revoked three intermediate CAs that they used to issue Administrator certs to their employees. Because the certificates were only intended to be used by our systems (we were the sole relying party), they did not include CDPs or OCSP pointers. We have no reason to believe that these intermediates were used to sign anything other than Administrator certs. We provide them here to comply with Mozilla's wishes to inform Mozilla when a CA revokes an intermediate cert.
-----BEGIN CERTIFICATE-----
MIIGCTCCBPGgAwIBAgIQTAA2G+UIK6mqznQKBT77NDANBgkqhkiG9w0BAQUFADCB
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMTk5OSBWZXJp
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW
ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0
aG9yaXR5IC0gRzMwHhcNMDgwNTE4MDAwMDAwWhcNMTgwNTE3MjM1OTU5WjCB1DEL
MAkGA1UEBhMCRUcxFDASBgNVBAoTC0VneXB0IFRydXN0MR8wHQYDVQQLExZWZXJp
U2lnbiBUcnVzdCBOZXR3b3JrMUgwRgYDVQQLEz9UZXJtcyBvZiB1c2UgYXQgaHR0
cHM6Ly93d3cuZWd5cHR0cnVzdC5jb20vcmVwb3NpdG9yeS9ycG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EzxWZXJpU2lnbiBDbGFz
cyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzOC
EQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAA4IBAQCXFdkLXgCt4QLB
SxaDTbEUrxkNgHFfUaLXN0lHhPEUblKJJETX3I5iEb6xarDsorNGg0euMI/UfHjg
+S6CsH4r5rbBfywmqXbZKvbAzWwZ0B4DWX/lCO7jaOrJRaa+j96U4CrKDe5kQ3RT
40T+N24Hw4XrHU+nbbyi8L5zE9ySmN9qgM5Jc+con8q2rTfDdFr4r4ILKs+uTQGH
LrrSAN+4v4hz75WDeDOdEVeKxJJG6eI+ZO/Uu+hKC92Kip69ZE5WRgeefbywbi7X
0poMIu4sf6xaQGSoK8awzlWe3heB0o7C6DuuXhQl6imHLqJMkPI8ig6+pPGs5h/j
etZywpSX
-----END CERTIFICATE-----
Comment 1•11 years ago
|
||
Camilo, can you add the distrust records to NSS for these certificates, similar to how we added distrust records for the French CA, TrustWave, etc. AFAICT, this isn't an emergency. We'd previously told CAs we would add intermdiate certs to the distrust list upon their notification.
Assignee: nobody → cviecco
Assignee | ||
Comment 2•11 years ago
|
||
This should have done it, but when I test it:
../dist/Linux3.2_x86_64_glibc_PTH_64_DBG.OBJ/bin/vfychain -u 3 -pp -v -a /home/cviecco/tmp/egypt-trust3.pem
I do not get a failure. Am I doing this wrong?
Attachment #8371966 -
Flags: feedback?(brian)
Comment 3•11 years ago
|
||
Please attach the certificates to this bug and include the command line to addbuiltin that you used to add the distrust record.
Even better would be to attach an xpcshell test that tests this. Even a test that fails is OK, because I can debug it in the debugger. We'll want this test anyway and we can then expand it to include tests for other revocations that currently aren't tested in Gecko's test suite.
Assignee | ||
Comment 4•11 years ago
|
||
cat /home/cviecco/tmp/egypt-trust1.der | ../dist/Linux3.2_x86_64_glibc_PTH_64_DBG.OBJ/bin/addbuiltin -D -n 'Distrust: O=Egypt Trust, OU=VeriSign TrustNetwork (cert 1/3)' > /tmp/trust-text.txt
cviecco@cviecco-dell1:~/hg/nss/nss$ cat /home/cviecco/tmp/egypt-trust2.der | ../dist/Linux3.2_x86_64_glibc_PTH_64_DBG.OBJ/bin/addbuiltin -D -n 'Distrust: O=Egypt Trust, OU=VeriSign TrustNetwork (cert 2/3)' >> /tmp/trust-text.txt
cviecco@cviecco-dell1:~/hg/nss/nss$ cat /home/cviecco/tmp/egypt-trust3.der | ../dist/Linux3.2_x86_64_glibc_PTH_64_DBG.OBJ/bin/addbuiltin -D -n 'Distrust: O=Egypt Trust, OU=VeriSign TrustNetwork (cert 3/3)' >> /tmp/trust-text.txt
cp lib/ckfw/builtins/certdata.txt /tmp
cat /tmp/certdata.txt /tmp/trust-text.txt > lib/ckfw/builtins/certdata.tx
make clean
make nss_build_all
../dist/Linux3.2_x86_64_glibc_PTH_64_DBG.OBJ/bin/vfychain -u 3 -pp -v /home/cviecco/tmp/egypt-trust1.der
Chain is good!
Root Certificate Subject:: "CN=VeriSign Class 3 Public Primary Certification
Authority - G3,OU="(c) 1999 VeriSign, Inc. - For authorized use only",OU=
VeriSign Trust Network,O="VeriSign, Inc.",C=US"
Certificate 1 Subject: "CN=Egypt Trust Class 3 Managed PKI Enterprise Adminis
trator CA,OU=Terms of use at https://www.egypttrust.com/repository/rpa (c
)08,OU=VeriSign Trust Network,O=Egypt Trust,C=EG"
(I will add one of the certs for illustration purposes).
Assignee | ||
Comment 5•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [ETA: 2014-02-17]
Updated•11 years ago
|
Attachment #8371966 -
Flags: feedback?(kaie)
Comment 6•11 years ago
|
||
Comment on attachment 8371966 [details] [diff] [review]
patch-bug-966060
(In reply to Camilo Viecco (:cviecco) from comment #4)
> cat /tmp/certdata.txt /tmp/trust-text.txt > lib/ckfw/builtins/certdata.tx
You've missed a trailing "t".
Is that the cause for your problem in your test environment?
I've tested your patch locally, and it disables trust for all three certificates given in the initial comment.
Attachment #8371966 -
Flags: review+
Attachment #8371966 -
Flags: feedback?(kaie)
Attachment #8371966 -
Flags: feedback+
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•11 years ago
|
||
Camilo, could it be the case that you have another version of NSS in your $PATH or $LD_LIBRARY_PATH that is causing you to use the old version of the database when you are testing your patch?
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Brian Smith (:briansmith, was :bsmith; NEEDINFO? for response) from comment #7)
> Camilo, could it be the case that you have another version of NSS in your
> $PATH or $LD_LIBRARY_PATH that is causing you to use the old version of the
> database when you are testing your patch?
GRRR. Bad $LD_LIBRARY_PATH.
Assignee | ||
Updated•11 years ago
|
Attachment #8371966 -
Flags: feedback?(brian)
Updated•11 years ago
|
Target Milestone: --- → 3.16
Updated•11 years ago
|
Summary: Revoked intermediate certificates → Distrust three VeriSign intermediate certificates
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [ETA: 2014-02-17]
Comment 10•11 years ago
|
||
> http://hg.mozilla.org/projects/nss/rev/7e92e560a717
I landed that on the NSS_3_15_5 branch mistakenly. Backed out:
http://hg.mozilla.org/projects/nss/rev/05a9f5999ac4
Re-landed on the default branch:
http://hg.mozilla.org/projects/nss/rev/9d65a1abd4c1
You need to log in
before you can comment on or make changes to this bug.
Description
•