Last active
October 28, 2024 02:40
-
-
Save seanthegeek/fd2d596d575b0815eee2c461f91a43a2 to your computer and use it in GitHub Desktop.
Revisions
-
seanthegeek revised this gist
Oct 28, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,4 +40,5 @@ The `opwnssl` CLI tool can be used to verify a certificate. The certificate is p > openssl verify -CAfile MVACAs.pem -untrusted 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem > > 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem: OK -
seanthegeek revised this gist
Oct 28, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -36,7 +36,7 @@ To find a VMC URL check for a BIMI record using DNS and look for a value in the ## Verifying the certificate The `opwnssl` CLI tool can be used to verify a certificate. The certificate is passed twice because it is both the certificate and the chain. For example: > openssl verify -CAfile MVACAs.pem -untrusted 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem -
seanthegeek created this gist
Oct 28, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,67 @@ -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQBsFnz+v0jTXWJBAYXhHF6zANBgkqhkiG9w0BAQsFADCB iDELMAkGA1UEBhMCVVMxDTALBgNVBAgTBFV0YWgxDTALBgNVBAcTBExla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y9ioqTI7g+Dg4qClUQqXPCQIDAQABo0IwQDAd BgNVHQ4EFgQU7G8ipLME4sFjh+Z3Y+pGaU7u/OswDgYDVR0PAQH/BAQDAgGGMA8G A1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggIBAC832YLVevVWINnr3vWC XNvLPtmPOPLKO5cHupQpkcug+IOli2FAxnC8JDlbOT6hiMK7MYaurag9QvDI/As0 4cNOa+4sqKCxQR3aLEyyqeLA4WdA6UFIHdMSIzLHZylzjuwciI706x83Ib17DMKO cpO2QVB7Beqv240TWxKxH21pFZsl44OgI+HcAPDbfJe3PEzwEZKNcKRkMWa/FFu2 ckQxpTcfZABrarnuRLcSINiodSW7VfxctzegXWM4WmQeutPBOicceV3J4ZVkhthB m784vES1DIuDTqT9/iqStBGN8eOGx9qKvjaXT8SdcrP58FpXrtm/xKgtILptxfVT 042oogQfb2cNahKRSvs0xH3jyhO944t0zMH/bEpRdU36wR1/Fo56zXy2Zv4czMwg 3Hg7mbAalJvcnBvH+NHPgucQI432XX11K29vz7HuNC7P9yKhxns+MbOQDMDPOhtS LUpBmzRNG4+2BZJZyKGqYd+STHisEGYeYCi3MVrwSe2UqcDi9f2UAWVbkDE/YB6/ e7+C7o6UWkXSU7dzR7FwFsfBHi6EqgIb2e9pINAxdvlc/3E19Ld/GJEtlw7nSdzp 71eMp5Z48iY54fV2lM/rXogS1R4r3p2oPe9efG0XaJMd0v1gom5Da/khJA7+wjRB 0wberd/tg3N0dJsSSznZjwYB -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIFpDCCA4ygAwIBAgIUdDkAvVsH/GPX6RUEUsibtwFoBGMwDQYJKoZIhvcNAQEN BQAwajELMAkGA1UEBhMCVVMxFjAUBgNVBAoMDUVudHJ1c3QsIEluYy4xQzBBBgNV BAMMOkVudHJ1c3QgVmVyaWZpZWQgTWFyayBSb290IENlcnRpZmljYXRpb24gQXV0 aG9yaXR5IC0gVk1DUjEwHhcNMjEwNTA3MTMzMT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eq0zQOXITcfVpJmFeBLq/rMzXCOdWNTdPx6yNdeWk6OW5GullwzJhsutiHcryQ acDRHEnMf0LodOy2TWLWWonsyctVHa2PtbcViWZ7opctUTmsK6JdMHCAOZHH64Nj 0Vr0VAaLf/A/fF+ZlU1IbcU1Gi/FBJudrT7YD2ISmIukCv7hsdhAtg9TuOVkWKl0 gfDadejTU4l5VlT58ofkxg5aAL2XPJf7ywKzgWlWgLpIZWMsn6+7dOiAq7GqsVKN zEKTyAc3Hs42hpKtHvZFDGJ3mGVUNPNjEiH7OZ7q1gKB7eysWDcUp+IMLn+nukDo JUb9H+TiF0i7Zo+roPyzv+fy2tJuioF9NkVGqqOrfTLxOo10gCM42ba4Mf6PkvC4 FkkNb7q7OVi6nsO8pUNJ+PagwFyMLp0vqd4aDTUruey7tKz76SM1D6rN9WJFgZsp Yj4dKCQPde32Jd9/Sk6G5lHmIbAqqNYLqPRBxByVSBg9+11jMi7e1kIkMQV3wndB ntRKjHU8Hd0J/UcK8veLaRR2XECTx0I9I31Fis4Q0cSVz+4oXWGBuaREKEut10q2 cAWvd1qUOjLlA4LsxKpVMvc+loyIy5s0+IfcqN4GHYjBKK+m+GWs/u2Q4BiKeVxw gkWRxBsyYPA= -----END CERTIFICATE----- This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,43 @@ Currently, there only two Mark Verifying Athorities that issue Verified Mark Certificates (VMCs) for use with [BIMI standard](https://bimigroup.org/implementation-guide/): [DigiCert](https://www.digicert.com/tls-ssl/verified-mark-certificates) and [Entrust](https://store.entrust.com/default/vmc.html). They provide their customers with certificate chains containing the intermedate certificate and VMC. The root certificates for these certificates are different than the root certificates used fpr browsers. - [DigiCert root Certificates download page](https://www.digicert.com/kb/digicert-root-certificates.htm) - [EnTrust root Certificates download page](https://www.entrust.com/knowledgebase/ssl/entrust-root-certificates) ## Root certificates DigiCert Verified Mark Root CA ```text Expires: 2024-09-23 Seral number: 06:C1:67:CF:EB:F4:8D:35:D6:24:10:18:5E:11:C5:EB SHA1 fingerprint: 74:E1:6E:32:AF:75:C6:CF:51:0A:26:FF:1F:C1:15:80:68:EA:92:3E SHA256 fingerprint: 50:43:86:C9:EE:89:32:FE:CC:95:FA:DE:42:7F:69:C3:E2:53:4B:73:10:48:9E:30:0F:EE:44:8E:33:C4:6B:42 ``` [Download link](http://cacerts.digicert.com/DigiCertVerifiedMarkRootCA.crt.pem) Entrust Verified Mark Root Certification Authority – VMCR1 ```text Expires: 2040-12-30 Seral number: 743900bd5b07fc63d7e9150452c89bb701680463 SHA1 fingerprint: 4A:04:D5:A6:28:0E:98:E6:5C:D4:7F:87:E8:EC:A6:4C:8B:4A:9A:43 SHA256 fingerprint: 78:31:D9:5A:47:D4:25:08:CD:5C:9E:62:64:F9:09:6B:AC:19:F0:4E:B9:B7:C8:BD:D3:5F:FF:C7:1C:18:96:17 ``` [Download link](https://web.entrust.com/root-certificates/VMRC1.cer) ## Identifying the VMC URL To find a VMC URL check for a BIMI record using DNS and look for a value in the `a` tag. For example, this is the BIMI record for `chase.com`. > default._bimi.chase.com. 3600 IN TXT "v=BIMI1;l=https://vmc.digicert.com/56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.svg;a=https://vmc.digicert.com/56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem" ## Verifying the certificate The `opwnaal` CLI tool can be used to verify a certificate. The certificate is passed twice because it is both the certificate and the chain. For example: > openssl verify -CAfile MVACAs.pem -untrusted 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem > 56fc8a64-c1ec-48b1-9f70-ae068ebbe8d0.pem: OK