{"id":777,"date":"2011-06-27T12:12:35","date_gmt":"2011-06-27T11:12:35","guid":{"rendered":"http:\/\/www.kozeniauskas.com\/itblog\/?p=777"},"modified":"2013-05-22T19:51:19","modified_gmt":"2013-05-22T18:51:19","slug":"windows-does-not-have-enough-information-to-verify-this-certificate","status":"publish","type":"post","link":"http:\/\/www.kozeniauskas.com\/itblog\/2011\/06\/27\/windows-does-not-have-enough-information-to-verify-this-certificate\/","title":{"rendered":"Windows does not have enough information to verify this certificate."},"content":{"rendered":"<p>Here come SSL certificates again. In recent Operating Systems Microsoft made some changes in Root certificates by removing some of them. Probably the best way to illustrate this is try to install Java on Server 2008 R2. When you try to install it you\u2019ll get the following error:<br \/>\n<em>Error 1330. A file that is required cannot be installed because the cabinet file Data1.cab has an invalid digital signature. This may indicate that the cabinet file is corrupt.<\/em><br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-779\" title=\"java_sig\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig.jpg\" width=\"365\" height=\"172\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig.jpg 365w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig-300x141.jpg 300w\" sizes=\"(max-width: 365px) 100vw, 365px\" \/><\/a><br \/>\n<!--more--><br \/>\nThe SSL certificate that the file is digitally signed with is not trusted by the OS. Although if you use the same file to install Java on Windows 2003 server it would work fine.<br \/>\nTo check what is happening with the file right click on it and go into properties.<br \/>\nSelect Digital Signatures tab and click on Details.<br \/>\nYou should see something like this:<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-778\" title=\"java_sig_verify\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify-258x300.jpg\" width=\"258\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify-258x300.jpg 258w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify.jpg 408w\" sizes=\"(max-width: 258px) 100vw, 258px\" \/><\/a><\/p>\n<p>The error says:<br \/>\n<em>The certificate in the signature cannot be verified.<\/em><\/p>\n<p>Click on View Certificate<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-780\" title=\"java_sig_verify2\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2-241x300.jpg\" width=\"241\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2-241x300.jpg 241w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2.jpg 407w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>Again there is exclamation mark and it states that:<br \/>\n<em>Windows does not have enough information to verify this certificate.<\/em><\/p>\n<p>Click on Certification Path tab<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2_5.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-781\" title=\"java_sig_verify2_5\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2_5-241x300.jpg\" width=\"241\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2_5-241x300.jpg 241w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify2_5.jpg 408w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>Here we can see that the certificate that is used to sign the application is fine but the one above it is not.<br \/>\nSelect that certificate and click on view certificate<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-783\" title=\"java_sig_verify3\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3-241x300.jpg\" width=\"241\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3-241x300.jpg 241w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.jpg 407w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>We see the same error as before<br \/>\n<em>Windows does not have enough information to verify this certificate.<\/em><\/p>\n<p>Click on Certification Path tab<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.5.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-782\" title=\"java_sig_verify3.5\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.5-241x300.jpg\" width=\"241\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.5-241x300.jpg 241w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify3.5.jpg 408w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>Here we don\u2019t see any other certificates and the error says that:<br \/>\n<em>The issuer of this certificate could not be found.<\/em><br \/>\nClick on Details tab and select the issuer<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify4.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-784\" title=\"java_sig_verify4\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify4-241x300.jpg\" width=\"241\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify4-241x300.jpg 241w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify4.jpg 408w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p>Here you can see the details about the issuer. If you check the certificate stores you&#8217;ll see that there is no corresponding certificates for this issuer and therefor it is not trusted.<br \/>\nGo to <a href=\"http:\/\/www.verisign.com\/support\/roots.html\">http:\/\/www.verisign.com\/support\/roots.html<\/a> here you can download all root certificates the one we need is <strong>VeriSign Class 3 Public Primary CA &#8211; G2<\/strong><strong> as stated in the image above. <\/strong>You can download all root certificates from <a href=\"http:\/\/www.verisign.com\/support\/roots.zip\">http:\/\/www.verisign.com\/support\/roots.zip<\/a> or just\u00a0a PEM file for the specific certificate.<br \/>\nOnce downloaded install the certificate and\u00a0install\/import it\u00a0to <strong>Trusted Root Certification Authorities<\/strong><strong> <\/strong>store.<br \/>\nIf you want to install the certificate under Computer account use MMC console to install the certificate.<br \/>\nOnce certificate is installed right click on the cab file again and check digital signature. It should say:<br \/>\n<em>This digital signature is OK.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify5.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-785\" title=\"java_sig_verify5\" alt=\"\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify5-257x300.jpg\" width=\"257\" height=\"300\" srcset=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify5-257x300.jpg 257w, http:\/\/www.kozeniauskas.com\/itblog\/files\/2011\/06\/java_sig_verify5.jpg 408w\" sizes=\"(max-width: 257px) 100vw, 257px\" \/><\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here come SSL certificates again. In recent Operating Systems Microsoft made some changes in Root certificates by removing some of them. Probably the best way to illustrate this is try to install Java on Server 2008 R2. When you try to install it you\u2019ll get the following error: Error 1330. A file that is required [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[379,367,378,366],"_links":{"self":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/777"}],"collection":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/comments?post=777"}],"version-history":[{"count":5,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/777\/revisions"}],"predecessor-version":[{"id":790,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/777\/revisions\/790"}],"wp:attachment":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/media?parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/categories?post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/tags?post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}