Advertisement
Guest User

Internet death sentence for DigiNotar's Root CA!

a guest
Aug 29th, 2011
1,868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.70 KB | None | 0 0
  1. This paste contains information on how you can verify that the latest diginotar.nl *.google.com cert is real. This CA should receive an internet death sentence as their carelessness may have resulted in deaths in Iran - this cert was issued in JULY of 2011 and it is now just a few days before SEPTEMBER. It is being used in the wild against real people in Iran *right* now.
  2.  
  3. tl;dr:
  4.  
  5. openssl verify -CAfile /etc/ssl/certs/DigiNotar_Root_CA.pem -untrusted inter.crt google.com.crt
  6. google.com.crt: OK
  7.  
  8. Verify the cert below.
  9.  
  10.  
  11. Put this in inter.crt:
  12.  
  13. -----BEGIN CERTIFICATE-----
  14. MIIGAzCCA+ugAwIBAgIQHn16Uz1FMEGWQA9xSB9FBDANBgkqhkiG9w0BAQUFADBf
  15. MQswCQYDVQQGEwJOTDESMBAGA1UEChMJRGlnaU5vdGFyMRowGAYDVQQDExFEaWdp
  16. Tm90YXIgUm9vdCBDQTEgMB4GCSqGSIb3DQEJARYRaW5mb0BkaWdpbm90YXIubmww
  17. HhcNMDYwMjA2MTYwNzAyWhcNMjUwMzI4MTYwNzAyWjBmMQswCQYDVQQGEwJOTDES
  18. MBAGA1UEChMJRGlnaU5vdGFyMSEwHwYDVQQDExhEaWdpTm90YXIgUHVibGljIENB
  19. IDIwMjUxIDAeBgkqhkiG9w0BCQEWEWluZm9AZGlnaW5vdGFyLm5sMIIBIjANBgkq
  20. hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/2eu/I5fMG8lbvPph3e8zfJpZQtg/72
  21. Yx29+ivtKehiF6A3n785XyoY6IT3vlCrhy1CbMOY3M0x1n4YQlv17B0XZ/DqHyBA
  22. SQvnDNbkM9j4NoSy/sRtGsP6PetIFFjrhE9whZuvuSUC1PY4PruEEJp8zOCx4+wU
  23. Zt9xvjy4Xra+bSia5rwccQ/R5FYTGKrYCthOy9C9ud5Fhd++rlVhgdA/78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Fis2LJXDRMWiAd3TcfdALwRsuKMR/T+cwyr
  40. asy69OEGHplLT57otQ524BDctDXNzlH9bHEh52QzqkWvIDqs42910IUy1nYNPIUG
  41. yYJV/T7H8Jb6vfMZWe47iUFvtNZCi8+b542gRUwdi+ca+hGviBC9Qr4Wv1pl7CBQ
  42. Hy1axTkHiQawUo/hgmoetCpftugl9yJTfvsBorUV1ZMxn9B1JLSGtWnbUsFRla7G
  43. fNa0IsUkzmmha8XCzvNu0d1PDGtcQyUqmDOE1Hx4cIBeuF8ipuIXkrVCr9zAZ4ZC
  44. hgz6aA1gDTW8whSRJqYEYEQ0pcMEFLyXE+Nz3O8NinO2AuxqKhjMk13203xA7lPY
  45. MnBQ0v7S3qqbp/pvPMiUhOz/VaYted6QmOY5EATBnFiLCuw87JXoAyp382eJ3WX1
  46. hOiR4IX9Tg==
  47. -----END CERTIFICATE-----
  48.  
  49. Put this in google.com.crt:
  50.  
  51. -----BEGIN CERTIFICATE-----
  52. MIIFKDCCBBCgAwIBAgIQBeLmpM0J6lTWZbB1/iKiVjANBgkqhkiG9w0BAQUFADBm
  53. MQswCQYDVQQGEwJOTDESMBAGA1UEChMJRGlnaU5vdGFyMSEwHwYDVQQDExhEaWdp
  54. Tm90YXIgUHVibGljIENBIDIwMjUxIDAeBgkqhkiG9w0BCQEWEWluZm9AZGlnaW5v
  55. dGFyLm5sMB4XDTExMDcxMDE5MDYzMFoXDTEzMDcwOTE5MDYzMFowajELMAkGA1UE
  56. BhMCVVMxEzARBgNVBAoTCkdvb2dsZSBJbmMxFjAUBgNVBAcTDU1vdW50YWluIFZp
  57. ZXcxFzAVBgNVBAUTDlBLMDAwMjI5MjAwMDAyMRUwEwYDVQQDEwwqLmdvb2dsZS5j
  58. b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDNbeKubCV0aCxhOiOS
  59. CSQ/w9HXTYuD5BLKuiqXNw3setdTymeJz2L8aWOHo3nicFNDVwWTgwWomGNr2J6Q
  60.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LQEBRGdeKWAptNM3EbiXtQaZT2uB
  76. pidL8UoafX0kch3f71Y1scpBEjvu5ZZLnjg0A8AL0tnsereOVdDpU98bKqdbbrnM
  77. FRmBlSf7xdaNca6JJHeEpga4E9Ty683CmccrSGXdU2tTCuHEJww+iOAUtPIZcsum
  78. U7/eYeY1pMyGLyIjbNgRY7nDzRwvM/BsbL9eh4/mSQj/4nncqJd22sVQpCggQiVK
  79. baB2sVGcVNBkK55bT8gPqnx8JypubyUvayzZGg==
  80. -----END CERTIFICATE-----
  81.  
  82. Run this:
  83.  
  84. openssl verify -CAfile /etc/ssl/certs/DigiNotar_Root_CA.pem -untrusted inter.crt google.com.crt
  85.  
  86. Cry about this:
  87.  
  88. google.com.crt: OK
  89.  
  90. Certificate:
  91. Data:
  92. Version: 3 (0x2)
  93. Serial Number:
  94. 05:e2:e6:a4:cd:09:ea:54:d6:65:b0:75:fe:22:a2:56
  95. Signature Algorithm: sha1WithRSAEncryption
  96. Issuer:
  97. emailAddress = info@diginotar.nl
  98. commonName = DigiNotar Public CA 2025
  99. organizationName = DigiNotar
  100. countryName = NL
  101. Validity
  102. Not Before: Jul 10 19:06:30 2011 GMT
  103. Not After : Jul 9 19:06:30 2013 GMT
  104. Subject:
  105. commonName = *.google.com
  106. serialNumber = PK000229200002
  107. localityName = Mountain View
  108. organizationName = Google Inc
  109. countryName = US
  110. Subject Public Key Info:
  111. Public Key Algorithm: rsaEncryption
  112. RSA Public Key: (2048 bit)
  113. Modulus (2048 bit):
  114. 00:cd:6d:e2:ae:6c:25:74:68:2c:61:3a:23:92:09:
  115. 24:3f:c3:d1:d7:4d:8b:83:e4:12:ca:ba:2a:97:37:
  116. 0d:ec:7a:d7:53:ca:67:89:cf:62:fc:69:63:87:a3:
  117. 79:e2:70:53:43:57:05:93:83:05:a8:98:63:6b:d8:
  118. 9e:90:ee:0d:62:20:d3:52:5b:4a:d1:e0:4d:65:da:
  119. cc:d1:91:c9:c0:63:a7:3a:8b:f1:24:7b:dd:e7:17:
  120. 88:b6:84:3b:27:20:1b:de:a2:51:79:ca:3a:6e:46:
  121. 6e:f7:b9:04:03:ba:51:e3:03:70:45:44:5f:cf:4e:
  122. 2d:1f:c3:6f:d8:b7:ef:22:7a:83:2e:35:c3:16:37:
  123. a1:28:bb:91:aa:b7:96:19:91:6b:f5:ef:aa:1f:78:
  124. 26:ec:06:63:2b:3f:ce:f1:3a:18:6d:4c:37:24:09:
  125. aa:64:e1:54:19:1b:65:eb:7f:36:5c:57:ab:5d:cc:
  126. 2a:79:4c:8f:2e:1d:db:b5:ed:c7:73:5e:6d:62:99:
  127. 9f:2d:ca:fc:c5:7a:20:84:39:03:7c:bc:f3:73:07:
  128. f7:c8:af:70:89:43:9a:b8:b8:ce:5a:29:3d:c3:0f:
  129. 93:de:57:37:f8:ad:f2:4a:40:d8:02:4d:68:88:05:
  130. cf:57:71:61:14:ba:cc:f0:02:c9:e6:83:b7:b6:10:
  131. 94:5d
  132. Exponent: 65537 (0x10001)
  133. X509v3 extensions:
  134. Authority Information Access:
  135. OCSP - URI:http://validation.diginotar.nl
  136.  
  137. X509v3 Authority Key Identifier:
  138. keyid:DF:33:C0:AF:92:FE:37:FC:B6:D8:16:16:D0:D9:B1:91:D5:FA:6E:A5
  139.  
  140. X509v3 Basic Constraints:
  141. CA:FALSE
  142. X509v3 Certificate Policies:
  143. Policy: 2.16.528.1.1001.1.1.1.2.4.1.2.2
  144. CPS: http://www.diginotar.nl/cps
  145. User Notice:
  146. Explicit Text: Conditions, as mentioned on our website (www.diginotar.nl), are applicable to all our products and services.
  147.  
  148. X509v3 CRL Distribution Points:
  149. URI:http://service.diginotar.nl/crl/public2025/latestCRL.crl
  150.  
  151. X509v3 Key Usage: critical
  152. Digital Signature, Key Encipherment, Data Encipherment
  153. X509v3 Subject Alternative Name:
  154. email:admin@google.com
  155. X509v3 Subject Key Identifier:
  156. 07:4A:7D:16:27:32:28:D1:E3:01:31:05:0D:B0:CA:8D:E9:E1:7F:ED
  157. Signature Algorithm: sha1WithRSAEncryption
  158. 02:ce:5d:2f:b3:7d:c3:34:49:90:8e:00:ab:89:42:e6:df:23:
  159. e5:96:9d:aa:7a:94:72:06:0b:00:3c:d2:bf:81:31:ca:d3:47:
  160. 51:8d:a7:1f:a8:95:4e:28:42:d1:43:d2:b0:82:d6:ad:aa:1e:
  161. 02:97:53:ed:1a:61:cf:ff:03:2d:01:01:44:67:5e:29:60:29:
  162. b4:d3:37:11:b8:97:b5:06:99:4f:6b:81:a6:27:4b:f1:4a:1a:
  163. 7d:7d:24:72:1d:df:ef:56:35:b1:ca:41:12:3b:ee:e5:96:4b:
  164. 9e:38:34:03:c0:0b:d2:d9:ec:7a:b7:8e:55:d0:e9:53:df:1b:
  165. 2a:a7:5b:6e:b9:cc:15:19:81:95:27:fb:c5:d6:8d:71:ae:89:
  166. 24:77:84:a6:06:b8:13:d4:f2:eb:cd:c2:99:c7:2b:48:65:dd:
  167. 53:6b:53:0a:e1:c4:27:0c:3e:88:e0:14:b4:f2:19:72:cb:a6:
  168. 53:bf:de:61:e6:35:a4:cc:86:2f:22:23:6c:d8:11:63:b9:c3:
  169. cd:1c:2f:33:f0:6c:6c:bf:5e:87:8f:e6:49:08:ff:e2:79:dc:
  170. a8:97:76:da:c5:50:a4:28:20:42:25:4a:6d:a0:76:b1:51:9c:
  171. 54:d0:64:2b:9e:5b:4f:c8:0f:aa:7c:7c:27:2a:6e:6f:25:2f:
  172. 6b:2c:d9:1a
  173. -----BEGIN CERTIFICATE-----
  174. MIIFKDCCBBCgAwIBAgIQBeLmpM0J6lTWZbB1/iKiVjANBgkqhkiG9w0BAQUFADBm
  175. MQswCQYDVQQGEwJOTDESMBAGA1UEChMJRGlnaU5vdGFyMSEwHwYDVQQDExhEaWdp
  176. Tm90YXIgUHVibGljIENBIDIwMjUxIDAeBgkqhkiG9w0BCQEWEWluZm9AZGlnaW5v
  177. dGFyLm5sMB4XDTExMDcxMDE5MDYzMFoXDTEzMDcwOTE5MDYzMFowajELMAkGA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pZ2lub3Rhci5ubC9jcmwvcHVibGljMjAyNS9s
  194. YXRlc3RDUkwuY3JsMA4GA1UdDwEB/wQEAwIEsDAbBgNVHREEFDASgRBhZG1pbkBn
  195. b29nbGUuY29tMB0GA1UdDgQWBBQHSn0WJzIo0eMBMQUNsMqN6eF/7TANBgkqhkiG
  196. 9w0BAQUFAAOCAQEAAs5dL7N9wzRJkI4Aq4lC5t8j5ZadqnqUcgYLADzSv4ExytNH
  197. UY2nH6iVTihC0UPSsILWraoeApdT7Rphz/8DLQEBRGdeKWAptNM3EbiXtQaZT2uB
  198. pidL8UoafX0kch3f71Y1scpBEjvu5ZZLnjg0A8AL0tnsereOVdDpU98bKqdbbrnM
  199. FRmBlSf7xdaNca6JJHeEpga4E9Ty683CmccrSGXdU2tTCuHEJww+iOAUtPIZcsum
  200. U7/eYeY1pMyGLyIjbNgRY7nDzRwvM/BsbL9eh4/mSQj/4nncqJd22sVQpCggQiVK
  201. baB2sVGcVNBkK55bT8gPqnx8JypubyUvayzZGg==
  202. -----END CERTIFICATE-----
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement