-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing intermediary digicert certificate
Why did it work before though? also, it might stop working in the near future again. If that happens, I'll make sure to include all necessary certificates the next time
- Loading branch information
Showing
6 changed files
with
163 additions
and
59 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs | ||
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 | ||
d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j | ||
ZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAwMFoXDTMxMTExMDAwMDAwMFowbDEL | ||
MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 | ||
LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFuY2Ug | ||
RVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm | ||
+9S75S0tMqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTW | ||
PNt0OKRKzE0lgvdKpVMSOO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEM | ||
xChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFB | ||
Ik5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQNAQTXKFx01p8VdteZOE3 | ||
hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUeh10aUAsg | ||
EsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQF | ||
MAMBAf8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaA | ||
FLE+w2kD+L9HAdSYJhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3Nec | ||
nzyIZgYIVyHbIUf4KmeqvxgydkAQV8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6z | ||
eM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFpmyPInngiK3BD41VHMWEZ71jF | ||
hS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkKmNEVX58Svnw2 | ||
Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe | ||
vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep | ||
+OkuE6N36B9K | ||
-----END CERTIFICATE----- |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIEsTCCA5mgAwIBAgIQBOHnpNxc8vNtwCtCuF0VnzANBgkqhkiG9w0BAQsFADBs | ||
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 | ||
d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2V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Q4EFgQUUWj/kK8CB3U8zNllZGKiErhZcjswHwYDVR0jBBgwFoAUsT7D | ||
aQP4v0cB1JgmGggC72NkK8MwDQYJKoZIhvcNAQELBQADggEBABiKlYkD5m3fXPwd | ||
aOpKj4PWUS+Na0QWnqxj9dJubISZi6qBcYRb7TROsLd5kinMLYBq8I4g4Xmk/gNH | ||
E+r1hspZcX30BJZr01lYPf7TMSVcGDiEo+afgv2MW5gxTs14nhr9hctJqvIni5ly | ||
/D6q1UEL2tU2ob8cbkdJf17ZSHwD2f2LSaCYJkJA69aSEaRkCldUxPUd1gJea6zu | ||
xICaEnL6VpPX/78whQYwvwt/Tv9XBZ0k7YXDK/umdaisLRbvfXknsuvCnQsH6qqF | ||
0wGjIChBWUMo0oHjqvbsezt3tkBigAVBRQHvFwY+3sAzm2fTYS5yh+Rp/BIAV0Ae | ||
cPUeybQ= | ||
-----END CERTIFICATE----- |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
#include "./bearssl_x509.h" | ||
|
||
static const unsigned char TA0_DN[] = { | ||
0x30, 0x6C, 0x31, 0x0B, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, | ||
0x02, 0x55, 0x53, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0A, | ||
0x13, 0x0C, 0x44, 0x69, 0x67, 0x69, 0x43, 0x65, 0x72, 0x74, 0x20, 0x49, | ||
0x6E, 0x63, 0x31, 0x19, 0x30, 0x17, 0x06, 0x03, 0x55, 0x04, 0x0B, 0x13, | ||
0x10, 0x77, 0x77, 0x77, 0x2E, 0x64, 0x69, 0x67, 0x69, 0x63, 0x65, 0x72, | ||
0x74, 0x2E, 0x63, 0x6F, 0x6D, 0x31, 0x2B, 0x30, 0x29, 0x06, 0x03, 0x55, | ||
0x04, 0x03, 0x13, 0x22, 0x44, 0x69, 0x67, 0x69, 0x43, 0x65, 0x72, 0x74, | ||
0x20, 0x48, 0x69, 0x67, 0x68, 0x20, 0x41, 0x73, 0x73, 0x75, 0x72, 0x61, | ||
0x6E, 0x63, 0x65, 0x20, 0x45, 0x56, 0x20, 0x52, 0x6F, 0x6F, 0x74, 0x20, | ||
0x43, 0x41 | ||
}; | ||
|
||
static const unsigned char TA0_RSA_N[] = { | ||
0xC6, 0xCC, 0xE5, 0x73, 0xE6, 0xFB, 0xD4, 0xBB, 0xE5, 0x2D, 0x2D, 0x32, | ||
0xA6, 0xDF, 0xE5, 0x81, 0x3F, 0xC9, 0xCD, 0x25, 0x49, 0xB6, 0x71, 0x2A, | ||
0xC3, 0xD5, 0x94, 0x34, 0x67, 0xA2, 0x0A, 0x1C, 0xB0, 0x5F, 0x69, 0xA6, | ||
0x40, 0xB1, 0xC4, 0xB7, 0xB2, 0x8F, 0xD0, 0x98, 0xA4, 0xA9, 0x41, 0x59, | ||
0x3A, 0xD3, 0xDC, 0x94, 0xD6, 0x3C, 0xDB, 0x74, 0x38, 0xA4, 0x4A, 0xCC, | ||
0x4D, 0x25, 0x82, 0xF7, 0x4A, 0xA5, 0x53, 0x12, 0x38, 0xEE, 0xF3, 0x49, | ||
0x6D, 0x71, 0x91, 0x7E, 0x63, 0xB6, 0xAB, 0xA6, 0x5F, 0xC3, 0xA4, 0x84, | ||
0xF8, 0x4F, 0x62, 0x51, 0xBE, 0xF8, 0xC5, 0xEC, 0xDB, 0x38, 0x92, 0xE3, | ||
0x06, 0xE5, 0x08, 0x91, 0x0C, 0xC4, 0x28, 0x41, 0x55, 0xFB, 0xCB, 0x5A, | ||
0x89, 0x15, 0x7E, 0x71, 0xE8, 0x35, 0xBF, 0x4D, 0x72, 0x09, 0x3D, 0xBE, | ||
0x3A, 0x38, 0x50, 0x5B, 0x77, 0x31, 0x1B, 0x8D, 0xB3, 0xC7, 0x24, 0x45, | ||
0x9A, 0xA7, 0xAC, 0x6D, 0x00, 0x14, 0x5A, 0x04, 0xB7, 0xBA, 0x13, 0xEB, | ||
0x51, 0x0A, 0x98, 0x41, 0x41, 0x22, 0x4E, 0x65, 0x61, 0x87, 0x81, 0x41, | ||
0x50, 0xA6, 0x79, 0x5C, 0x89, 0xDE, 0x19, 0x4A, 0x57, 0xD5, 0x2E, 0xE6, | ||
0x5D, 0x1C, 0x53, 0x2C, 0x7E, 0x98, 0xCD, 0x1A, 0x06, 0x16, 0xA4, 0x68, | ||
0x73, 0xD0, 0x34, 0x04, 0x13, 0x5C, 0xA1, 0x71, 0xD3, 0x5A, 0x7C, 0x55, | ||
0xDB, 0x5E, 0x64, 0xE1, 0x37, 0x87, 0x30, 0x56, 0x04, 0xE5, 0x11, 0xB4, | ||
0x29, 0x80, 0x12, 0xF1, 0x79, 0x39, 0x88, 0xA2, 0x02, 0x11, 0x7C, 0x27, | ||
0x66, 0xB7, 0x88, 0xB7, 0x78, 0xF2, 0xCA, 0x0A, 0xA8, 0x38, 0xAB, 0x0A, | ||
0x64, 0xC2, 0xBF, 0x66, 0x5D, 0x95, 0x84, 0xC1, 0xA1, 0x25, 0x1E, 0x87, | ||
0x5D, 0x1A, 0x50, 0x0B, 0x20, 0x12, 0xCC, 0x41, 0xBB, 0x6E, 0x0B, 0x51, | ||
0x38, 0xB8, 0x4B, 0xCB | ||
}; | ||
|
||
static const unsigned char TA0_RSA_E[] = { | ||
0x01, 0x00, 0x01 | ||
}; | ||
|
||
static const unsigned char TA1_DN[] = { | ||
0x30, 0x70, 0x31, 0x0B, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, | ||
0x02, 0x55, 0x53, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0A, | ||
0x13, 0x0C, 0x44, 0x69, 0x67, 0x69, 0x43, 0x65, 0x72, 0x74, 0x20, 0x49, | ||
0x6E, 0x63, 0x31, 0x19, 0x30, 0x17, 0x06, 0x03, 0x55, 0x04, 0x0B, 0x13, | ||
0x10, 0x77, 0x77, 0x77, 0x2E, 0x64, 0x69, 0x67, 0x69, 0x63, 0x65, 0x72, | ||
0x74, 0x2E, 0x63, 0x6F, 0x6D, 0x31, 0x2F, 0x30, 0x2D, 0x06, 0x03, 0x55, | ||
0x04, 0x03, 0x13, 0x26, 0x44, 0x69, 0x67, 0x69, 0x43, 0x65, 0x72, 0x74, | ||
0x20, 0x53, 0x48, 0x41, 0x32, 0x20, 0x48, 0x69, 0x67, 0x68, 0x20, 0x41, | ||
0x73, 0x73, 0x75, 0x72, 0x61, 0x6E, 0x63, 0x65, 0x20, 0x53, 0x65, 0x72, | ||
0x76, 0x65, 0x72, 0x20, 0x43, 0x41 | ||
}; | ||
|
||
static const unsigned char TA1_RSA_N[] = { | ||
0xB6, 0xE0, 0x2F, 0xC2, 0x24, 0x06, 0xC8, 0x6D, 0x04, 0x5F, 0xD7, 0xEF, | ||
0x0A, 0x64, 0x06, 0xB2, 0x7D, 0x22, 0x26, 0x65, 0x16, 0xAE, 0x42, 0x40, | ||
0x9B, 0xCE, 0xDC, 0x9F, 0x9F, 0x76, 0x07, 0x3E, 0xC3, 0x30, 0x55, 0x87, | ||
0x19, 0xB9, 0x4F, 0x94, 0x0E, 0x5A, 0x94, 0x1F, 0x55, 0x56, 0xB4, 0xC2, | ||
0x02, 0x2A, 0xAF, 0xD0, 0x98, 0xEE, 0x0B, 0x40, 0xD7, 0xC4, 0xD0, 0x3B, | ||
0x72, 0xC8, 0x14, 0x9E, 0xEF, 0x90, 0xB1, 0x11, 0xA9, 0xAE, 0xD2, 0xC8, | ||
0xB8, 0x43, 0x3A, 0xD9, 0x0B, 0x0B, 0xD5, 0xD5, 0x95, 0xF5, 0x40, 0xAF, | ||
0xC8, 0x1D, 0xED, 0x4D, 0x9C, 0x5F, 0x57, 0xB7, 0x86, 0x50, 0x68, 0x99, | ||
0xF5, 0x8A, 0xDA, 0xD2, 0xC7, 0x05, 0x1F, 0xA8, 0x97, 0xC9, 0xDC, 0xA4, | ||
0xB1, 0x82, 0x84, 0x2D, 0xC6, 0xAD, 0xA5, 0x9C, 0xC7, 0x19, 0x82, 0xA6, | ||
0x85, 0x0F, 0x5E, 0x44, 0x58, 0x2A, 0x37, 0x8F, 0xFD, 0x35, 0xF1, 0x0B, | ||
0x08, 0x27, 0x32, 0x5A, 0xF5, 0xBB, 0x8B, 0x9E, 0xA4, 0xBD, 0x51, 0xD0, | ||
0x27, 0xE2, 0xDD, 0x3B, 0x42, 0x33, 0xA3, 0x05, 0x28, 0xC4, 0xBB, 0x28, | ||
0xCC, 0x9A, 0xAC, 0x2B, 0x23, 0x0D, 0x78, 0xC6, 0x7B, 0xE6, 0x5E, 0x71, | ||
0xB7, 0x4A, 0x3E, 0x08, 0xFB, 0x81, 0xB7, 0x16, 0x16, 0xA1, 0x9D, 0x23, | ||
0x12, 0x4D, 0xE5, 0xD7, 0x92, 0x08, 0xAC, 0x75, 0xA4, 0x9C, 0xBA, 0xCD, | ||
0x17, 0xB2, 0x1E, 0x44, 0x35, 0x65, 0x7F, 0x53, 0x25, 0x39, 0xD1, 0x1C, | ||
0x0A, 0x9A, 0x63, 0x1B, 0x19, 0x92, 0x74, 0x68, 0x0A, 0x37, 0xC2, 0xC2, | ||
0x52, 0x48, 0xCB, 0x39, 0x5A, 0xA2, 0xB6, 0xE1, 0x5D, 0xC1, 0xDD, 0xA0, | ||
0x20, 0xB8, 0x21, 0xA2, 0x93, 0x26, 0x6F, 0x14, 0x4A, 0x21, 0x41, 0xC7, | ||
0xED, 0x6D, 0x9B, 0xF2, 0x48, 0x2F, 0xF3, 0x03, 0xF5, 0xA2, 0x68, 0x92, | ||
0x53, 0x2F, 0x5E, 0xE3 | ||
}; | ||
|
||
static const unsigned char TA1_RSA_E[] = { | ||
0x01, 0x00, 0x01 | ||
}; | ||
|
||
const br_x509_trust_anchor TAs[2] = { | ||
{ | ||
{ (unsigned char *)TA0_DN, sizeof TA0_DN }, | ||
BR_X509_TA_CA, | ||
{ | ||
BR_KEYTYPE_RSA, | ||
{ .rsa = { | ||
(unsigned char *)TA0_RSA_N, sizeof TA0_RSA_N, | ||
(unsigned char *)TA0_RSA_E, sizeof TA0_RSA_E, | ||
} } | ||
} | ||
}, | ||
{ | ||
{ (unsigned char *)TA1_DN, sizeof TA1_DN }, | ||
BR_X509_TA_CA, | ||
{ | ||
BR_KEYTYPE_RSA, | ||
{ .rsa = { | ||
(unsigned char *)TA1_RSA_N, sizeof TA1_RSA_N, | ||
(unsigned char *)TA1_RSA_E, sizeof TA1_RSA_E, | ||
} } | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include "./bearssl_x509.h" | ||
|
||
#define TAs_NUM 1 | ||
#define TAs_NUM 2 | ||
extern const br_x509_trust_anchor TAs[TAs_NUM]; |