Closed Bug 1034949 Opened 10 years ago Closed 9 years ago

Swisscom: valid 512 bit certificate

Categories

(CA Program :: CA Certificate Root Program, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kurt, Assigned: patrick.graber)

References

Details

(Whiteboard: BR Compliance - 512 bit cert)

Hi,

I found a certificate that is using an RSA key with 512 bit that is still valid and not revoked.  It's been issued by:
C=ch, O=Swisscom, OU=Digital Certificate Services, CN=Swisscom Rubin CA 1
Swisscom Rubin CA 1?  Do you mean Swisscom Root CA 1?  I cannot find a root named Swisscom Rubin CA 1 in my database.
That's the name of an intermediate CA.  The root CA is "Swisscom Root CA 1"
In the CT-dawn era, is there any reason to treat the certificate like a big secret?

-----BEGIN CERTIFICATE-----
MIIEsTCCA5mgAwIBAgIQBGfdiMVddmRAgTIJ8k5IpzANBgkqhkiG9w0BAQUFADBl
MQswCQYDVQQGEwJjaDERMA8GA1UEChMIU3dpc3Njb20xJTAjBgNVBAsTHERpZ2l0
YWwgQ2VydGlmaWNhdGUgU2VydmljZXMxHDAaBgNVBAMTE1N3aXNzY29tIFJ1Ymlu
IENBIDEwHhcNMTIwNTI1MTAxMDI3WhcNMTUwNTI1MTAxMDI3WjCBhDELMAkGA1UE
BhMCQ0gxDTALBgNVBAgTBEJlcm4xDTALBgNVBAcTBEJlcm4xFDASBgNVBAoTC1NC
Qi9DRkYvRkZTMQswCQYDVQQLEwJJVDEUMBIGA1UEAxMLYXZpcy5zYmIuY2gxHjAc
BgkqhkiG9w0BCQEWD3NzbGFkbWluQHNiYi5jaDBcMA0GCSqGSIb3DQEBAQUAA0sA
MEgCQQDhcUq+5xy4fJaYxdpliglPCU6HsgOYVlzfB0Xkw2bcZ+RckatB/GKebhoC
6UAFCXUSx0tnym7kq1Rfn/VyScgjAgMBAAGjggIDMIIB/zAfBgNVHSMEGDAWgBQt
wqejYz4/g0erSDM2gYX31OmswDB2BggrBgEFBQcBAQRqMGgwLgYIKwYBBQUHMAGG
Imh0dHA6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GA1UdDwEB
/wQEAwIBQjAPBgkrBgEFBQcwAQUEAgUAMB0GA1UdDgQWBBSG21oMtRnGIWv+ex4L
HgYeCBGuXzANBgkqhkiG9w0BAQUFAAOCAQEAhEXRyh3YVr1bk3CcFTo7HAorUt/F
nHACrxcjZ2kv6NOfmsJQSnJeGzgEBZ4k9w+8JkKb3T/os+fA6a5XtnUbmbLeMEc6
3mcUHl0OLOqk2lY8SIRqOKYmp2Z1q295eO2P/jrLbiVKWvS0fB1S9x0TQe9z+FsF
+GLqtlXjjMsyCpuSlW5XDhJtGX+Lq4XOKXI9jWRMNBYoPF7TWwYEBPo96th6ivam
0LoAiHqIBPd34gjw67/hfYein36LteK3XdDnJIkAy8kkpAiR1WvDm34QXfWDelAj
9/HFqnA81lGuaRSM33ERhermt6qr2iG4Prbripz0/f39k1a+JuLUVxJZdA==
-----BEGIN OCSP RESPONSE-----

Or, in more human friendly form:

OCSP Response Data:
    OCSP Response Status: successful (0x0)
    Response Type: Basic OCSP Response
    Version: 1 (0x0)
    Responder Id: C = CH, O = Swisscom, OU = Digital Certificate Services, CN = OCSP Signer Swisscom Rubin CA 3
    Produced At: Jul 13 08:44:14 2014 GMT
    Responses:
    Certificate ID:
      Hash Algorithm: sha1
      Issuer Name Hash: 05E4639E5B4AB593F2690DD371F9FD91AADB5DB6
      Issuer Key Hash: 2DC2A7A3633E3F8347AB4833368185F7D4E9ACC0
      Serial Number: 0467DD88C55D766440813209F24E48A7
    Cert Status: good
    This Update: Jul 13 08:12:34 2014 GMT
    Next Update: Jul 20 10:12:38 2014 GMT

(The CRL is at http://crl.swissdigicert.ch/sdcs-rubin.crl, and doesn't list 0467DD88C55D766440813209F24E48A7 either, of course.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to Kaspar Brand from comment #3)
> In the CT-dawn era, is there any reason to treat the certificate like a big
> secret?

It's not a secret since we can obviously both find it.  But there is also no reason to make it more public then needed to get the problem solved.  Also, they didn't opt in on CT.
Assignee: kwilson → patrick.graber
Whiteboard: BR Compliance - 512 bit cert
The domain name of the Subject doesn't exist (anmyore), so shouldn't the CA be obligated to revoke this cert on demand within 24 hrs?
(In reply to M.Hunstock from comment #5)
> The domain name of the Subject doesn't exist (anmyore), so shouldn't the CA
> be obligated to revoke this cert on demand within 24 hrs?

So to quote baseline requirements:
13.1.5 Reasons for Revoking a Subscriber Certificate

The CA SHALL revoke a Certificate within 24 hours if one or more of the following occurs:
[...]
3. The CA obtains evidence that the Subscriber’s Private Key corresponding to the Public Key in the
Certificate suffered a Key Compromise (also see Section 10.2.4) or no longer complies with the
requirements of Appendix A;
[...]
6. The CA is made aware of any circumstance indicating that use of a Fully-Qualified Domain Name or IP
address in the Certificate is no longer legally permitted (e.g. a court or arbitrator has revoked a Domain Name Registrant’s right to use the Domain Name, a relevant licensing or services agreement between the Domain Name Registrant and the Applicant has terminated, or the Domain Name Registrant has failed to renew the Domain Name);
[...]
9. The CA is made aware that the Certificate was not issued in accordance with these Requirements or the CA’s Certificate Policy or Certification Practice Statement;

And Appendinx A.3 has 2048 bit as minimum size for RSA.

There also seem to be various other things wrong with the certificate.

So yes, this should have been revoked almost 2 months ago.

Kurt
Patrick: this is a fairly serious issue. Are you able to give a response from Swisscom?

Gerv
This certificate is used for internal test use only. It will be revoked today.
What is the current state of this bug?
 The certificate was revoked on Sep 10 09:49:12 2014 GMT

    Serial Number: 0467DD88C55D766440813209F24E48A7
        Revocation Date: Sep 10 09:49:12 2014 GMT

This bug can be closed.

http://crl.swissdigicert.ch/sdcs-rubin.crl
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: mozilla.org → NSS
Product: NSS → CA Program
You need to log in before you can comment on or make changes to this bug.