{"id":167,"date":"2020-05-21T15:21:27","date_gmt":"2020-05-21T18:21:27","guid":{"rendered":"https:\/\/vargolino.com\/wp\/?p=167"},"modified":"2020-05-21T15:21:27","modified_gmt":"2020-05-21T18:21:27","slug":"check-if-certificate-and-key-matches","status":"publish","type":"post","link":"https:\/\/vargolino.com\/wp\/?p=167","title":{"rendered":"Check if certificate and key matches"},"content":{"rendered":"\n<p>The easiest way is probably to check if the modulus of the public key embedded in the certificate \/ private key \/ CSR request.<\/p>\n\n\n\n<p>certificate: <code>openssl x509 \u2013noout \u2013modulus \u2013in &lt;filename><\/code><\/p>\n\n\n\n<p>private key: <code>openssl rsa \u2013noout \u2013modulus \u2013in &lt;filename><\/code><\/p>\n\n\n\n<p>request: <code>openssl req -noout -modulus -in &lt;filename><\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easiest way is probably to check if the modulus of the public key embedded in the certificate \/ private key \/ CSR request. certificate: openssl x509 \u2013noout \u2013modulus \u2013in &lt;filename> private key: openssl rsa \u2013noout \u2013modulus \u2013in &lt;filename> request: openssl req -noout -modulus -in &lt;filename><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-solution","tag-howto","entry"],"_links":{"self":[{"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=167"}],"version-history":[{"count":1,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/167\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vargolino.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}