{"id":5362,"date":"2021-10-27T23:17:11","date_gmt":"2021-10-27T23:17:11","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5362"},"modified":"2021-10-27T23:17:11","modified_gmt":"2021-10-27T23:17:11","slug":"openssl-checks-to-verify-the-certs","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/openssl-checks-to-verify-the-certs","title":{"rendered":"OpenSSL Checks to verify the certs:"},"content":{"rendered":"<p>#To verify the Root CA CA.pem and Intermediate CA ICA.pem<br \/>openssl verify -CAfile CA.pem ICA.pem<\/p><p>#To create the CA chain ( In Linux or just add files together in notepad for Linux )\u00a0<br \/>cat ICA.pem ca.pem &gt; CA-chain.pem<\/p><p>#To verify the CA chain and the web cert<br \/>openssl verify -CAfile CA-chain.pem web.pem<\/p><p>#To generate checksum of the private key<br \/>openssl rsa -modulus -noout -in private.key\u00a0<\/p><p>#To generate checksum of the web cert, the checksum result should match with the private key<br \/>openssl x509 -modulus -noout -in web.pem<\/p><p>&nbsp;<\/p><p>Exporting files for further diagnosis<\/p><p>openssl rsa -in private.key -text -noout<br \/>openssl x509 -in web.pem -text -noout<br \/>openssl x509 -in ica.pem -text -noout<br \/>openssl x509 -in ca.pem -text -noout<\/p>","protected":false},"excerpt":{"rendered":"<p>#To verify the Root CA CA.pem and Intermediate CA ICA.pemopenssl verify -CAfile CA.pem ICA.pem#To create the CA chain ( In Linux or just add files together in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3623,3622,2940,2939,3620,3621],"class_list":["post-5362","post","type-post","status-publish","format-standard","hentry","category-research","tag-ca","tag-ica","tag-openssl","tag-pem","tag-rsa","tag-verify"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5362"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5362\/revisions"}],"predecessor-version":[{"id":5363,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5362\/revisions\/5363"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}