Skip to content

Commit

Permalink
add two new OCSP tests and their required fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvinEfendi committed Apr 18, 2020
1 parent 53a1fab commit 3d1720a
Show file tree
Hide file tree
Showing 23 changed files with 600 additions and 12 deletions.
43 changes: 43 additions & 0 deletions t/cert/ocsp/cfssl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Following steps require /~https://github.com/cloudflare/cfssl

Initiate CA by creating root certificate pair:

```
cfssl gencert -initca ca_csr.json | cfssljson -bare ca
```

Continue with intermediate certificate pair for signing:

```
cfssl gencert -ca ca.pem -ca-key ca-key.pem -config=cfssl_config.json -profile=intermediate intermediate_ca_csr.json | cfssljson -bare intermediate_ca
```

Also create OCSP certificate pair to sign OCSP responses:

```
cfssl gencert -ca intermediate_ca.pem -ca-key intermediate_ca-key.pem -config=cfssl_config.json -profile=ocsp ocsp_csr.json | cfssljson -bare ocsp
```

Create a leaf certificate:

```
cfssl gencert -ca intermediate_ca.pem -ca-key intermediate_ca-key.pem -config cfssl_config.json -profile server leaf_csr.json | cfssljson -bare leaf
```

Create an OCSP response for the certificate:

```
cfssl ocspsign -ca intermediate_ca.pem -responder ocsp.pem -responder-key ocsp-key.pem -cert leaf.pem -status good | cfssljson -bare ocsp-response-good
```

Bundle certificate to be installed at Nginx:

```
cat leaf.pem intermediate_ca.pem ca.pem > leaf-bundle.pem
```

Inspect OCSP response to see what is the Next Update:

```
openssl ocsp -text -no_cert_verify -respin t/cert/ocsp/cfssl/ocsp-response-good-response.der | grep "Next Update"
```
27 changes: 27 additions & 0 deletions t/cert/ocsp/cfssl/ca-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEogIBAAKCAQEA1CzP9mMHdU6uGalWBKa46JIylH7ufHtUZdWfBWt/UpbzjV/3
+YhQ9G1CM62brYW86rBalWNrvLhEKcx5lGe28pC0OEPEfbiQIN86yzVJS6qlrTWF
UuVPKQtRsv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1q4g2RxLQQmJNC8f5Sz
aA4yW/w7MMJRjNezF05gjQKBgEkf025wZXmFm3jtxtU5BHbBe+JcN30cGWkRMY2L
vRzY8l3uxbG1FyZZjXuFZdy/H3dSthO4cbjsJlltfDNLD8pr3dJT3fAgeiO2UTKZ
2DGVGfpBUipnwLEay0dAQ4TlqpaKA6Q6/50ksEBIKTl5r67yT0Xqc9xjc668oD6X
NM5hAoGAGanSK4Etts0vSRQNROI76UwCSVTiZ3awAZRKnKIUtId6So381m6bxXLd
dHxkZiwln76WYkWvc6vRh26SDlhwNwkzQl7To/j4lkH8RyTwtTo2mzY7wcTNYMc+
uo3ePWAwGziQDtOBKbKAnQLd2pmCJTG/lK8LQsCTYYFFvaRA7vk=
-----END RSA PRIVATE KEY-----
17 changes: 17 additions & 0 deletions t/cert/ocsp/cfssl/ca.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICwTCCAakCAQAwfDELMAkGA1UEBhMCQ0ExEDAOBgNVBAgTB09udGFyaW8xDzAN
BgNVBAcTBk90dGF3YTESMBAGA1UEChMJTHVhIE5naW54MRowGAYDVQQLExFMdWEg
TmdpbnggUm9vdCBDQTEaMBgGA1UEAxMRTHVhIE5naW54IFJvb3QgQ0EwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDULM/2Ywd1Tq4ZqVYEprjokjKUfu58
e1Rl1Z8Fa39SlvONX/f5iFD0bUIzrZuthbzqsFqVY2u8uEQpzHmUZ7bykLQ4Q8R9
uJAg3zrLNUlLqqWtNYVS5U8pC1Gy+yjgd5hVUKiOT7TQEAvmkaDcaZ3NTO5nghUJ
/Vx2zHiYe9Cthh7v12YEJ4ZDr2dXx53jsJQY3QX9cU/qRv6uIBqYbTkw72xmY372
W4nG0PV34YytFx+xd2D8ZjZAI5yL45UnIaQI9e0YkV5df3FH1aVbVy02S7y/rYD3
qFTPP80Oq3iyXWchHceFg97Ijz9wH8pp8g2wXFBypzjistPZHjEBZPnDAgMBAAGg
ADANBgkqhkiG9w0BAQsFAAOCAQEAjhnzbHWNT3c7ECpztMK/19IeR9wdtNnlHjRI
VB121nJBs0YbVHsUyQV+Y9vXg//a/rtIrnKQGUEN1bhNX0xsEBlyVH9NyoKco9av
BbTEnEXoi1b2pc0TvXMTq9EPqOiyZi4SAiRmr9sLBut9WgdTTiYpFfMQ4G20an7+
uFRbiEVHvD2XCmIgSI1AkCTDsNoNv035+uhOzXbPuOyr8wueS3Dm1xHCIwrCDUnO
kRvU74dEOCGAj8/6tFQN8I+xmhSQKU4zxowbE3BCPGkc+Roq8k5E4lg/ygAOOGQz
NK0DzWd0fA1CV10RwL5u0fKxDYEYMy5yXe/NeIv9k3tQ29hGzg==
-----END CERTIFICATE REQUEST-----
23 changes: 23 additions & 0 deletions t/cert/ocsp/cfssl/ca.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIDyDCCArCgAwIBAgIUNWo8Vk25EO9THGao8UrkouJ/0GgwDQYJKoZIhvcNAQEL
BQAwfDELMAkGA1UEBhMCQ0ExEDAOBgNVBAgTB09udGFyaW8xDzANBgNVBAcTBk90
dGF3YTESMBAGA1UEChMJTHVhIE5naW54MRowGAYDVQQLExFMdWEgTmdpbnggUm9v
dCBDQTEaMBgGA1UEAxMRTHVhIE5naW54IFJvb3QgQ0EwHhcNMjAwNDE4MTkzNDAw
WhcNMjUwNDE3MTkzNDAwWjB8MQswCQYDVQQGEwJDQTEQMA4GA1UECBMHT250YXJp
bzEPMA0GA1UEBxMGT3R0YXdhMRIwEAYDVQQKEwlMdWEgTmdpbngxGjAYBgNVBAsT
EUx1YSBOZ2lueCBSb290IENBMRowGAYDVQQDExFMdWEgTmdpbnggUm9vdCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANQsz/ZjB3VOrhmpVgSmuOiS
MpR+7nx7VGXVnwVrf1KW841f9/mIUPRtQjOtm62FvOqwWpVja7y4RCnMeZRntvKQ
tDhDxH24kCDfOss1SUuqpa01hVLlTykLUbL7KOB3mFVQqI5PtNAQC+aRoNxpnc1M
7meCFQn9XHbMeJh70K2GHu/XZgQnhkOvZ1fHneOwlBjdBf1xT+pG/q4gGphtOTDv
bGZjfvZbicbQ9XfhjK0XH7F3YPxmNkAjnIvjlSchpAj17RiRXl1/cUfVpVtXLTZL
vL+tgPeoVM8/zQ6reLJdZyEdx4WD3siPP3AfymnyDbBcUHKnOOKy09keMQFk+cMC
AwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0O
BBYEFNkuHg9s/oZAOHa5FZ63328ntJUrMA0GCSqGSIb3DQEBCwUAA4IBAQACuF6B
lbqdIySZqbO9i26MW1yhF0O23IAh+O8tU+7A+c7w8NLyh89nIn3Vq9dUclbtnZEW
X8Bdv3CS8S1E4/g2iPJdcVSH2DvH41WjtbHA1BlUMTIXfa7DUTf9pqnzMre4jMlN
JwvX3p1U/PYlQ0AH3TP3gnrykFLe4v5sJohxcrw7wlXOXX0Epyjg3NxHqtFCoth/
qFM1+Ni3zURoU8vuAuy9f85CWTTocllyGdxj0AoYbTqh5ZuAJm2Kp4c9ALyupkQI
LIBr54fQA9ex8m3XLdt/iO5Mzn5ISe4KkmY2jhG70kO5BzkhVKP5vVBGlScsefPW
ZLRO43eiUz4Wpu8y
-----END CERTIFICATE-----
16 changes: 16 additions & 0 deletions t/cert/ocsp/cfssl/ca_csr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"CN": "Lua Nginx Root CA",
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CA",
"L": "Ottawa",
"O": "Lua Nginx",
"OU": "Lua Nginx Root CA",
"ST": "Ontario"
}
]
}
Binary file added t/cert/ocsp/cfssl/cert-response.der
Binary file not shown.
32 changes: 32 additions & 0 deletions t/cert/ocsp/cfssl/cfssl_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"signing": {
"default": {
"ocsp_url": "https://ocsp-responder.test",
"expiry": "219000h",
"usages": [
"signing",
"key encipherment",
"client auth"
]
},
"profiles": {
"ocsp": {
"usages": ["digital signature", "ocsp signing"],
"expiry": "8760h"
},
"intermediate": {
"usages": ["cert sign", "crl sign"],
"expiry": "219000h",
"ca_constraint": {"is_ca": true}
},
"server": {
"usages": ["signing", "key encipherment", "server auth"],
"expiry": "8760h"
},
"client": {
"usages": ["signing", "key encipherment", "client auth"],
"expiry": "8760h"
}
}
}
}
27 changes: 27 additions & 0 deletions t/cert/ocsp/cfssl/intermediate_ca-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA2JgHYb20Bc88sssJO8xJk/yQT0pJmPAfltNYvQS019oWi6P/
Rhhric6jPxrm91vcx1SzEBvac75aCLaXQ30Qpw6FCleK7GHrtUYE1G5X0HVTFIzS
XiKpiSvrOp4YMjY8HchV3Q9FOMxYTrwr0Zp9Xo1XfboKZadU4++dn153k7UNsUYR
Xy+FkQHP9kphigjGVtswjazemy/cwT+cZhuDzWiuTXqQHP2E11tZT3M7xMs1FreX
hyjroFf5By5XZEdJ+cva6mLF6ToPGI2o3C0k12i2jILaT0MxTlZGaj/DcROySk/v
CWIwZFjzSO9Ah+QKRXgFJDYZquvi73AVvmkXPQIDAQABAoIBAQCVjOtT5otdk4kC
nsRiYJzRLItr5AxLKEl3d7iG0rAXdkMo6fSBrqzZ+y6mjOm7E9euXmJBFipQzrcV
2xU4iSstXg4oZOfMbZQ1lwIQt5u0mL3jq5Q5YU+UIhoKYEyuptn9am029KtEG3xB
6RWMZVJ5LbiiXAl/xPkNZU59UtnXxt9TcbOI7KA2GUcCorvKAitvrQYKGViPuMCc
BM02qJV1iV00w5z0RUpaC7x2iDlpLaS55aUcIM2YPICrWcbX/vQn0+8QKbxCC8mZ
xYaiBS2LjBIGH7r5qlqq3v1PtLDgTQUrOC/GFyXCQrds1/s774SKGkJ/ZzgmwuAi
t2yWre5hAoGBAOecQJt5Exw5ru4WZ03ZRWSiT3yewPPJS9spG2eRze6/ilwFFM+O
N6EIlHG7cd/5dJ2OYuaULaracfF6cDpYKYREl1ywCcDIGtqYasP2A5cFrQugrD6D
Mm3fulkGaczU8fFE3Oizsn7y431PHbPj5QmUNlqP6nYbMiTtkBfxgbv1AoGBAO9m
9kVN809o0bJNcsmqbV7mbH+lw68ptSlgwmx3cdnKQ6ml9aAbn0w0zQL7EodmE8vc
HSRNr5xB717K1zVTAPs0bqx4bUJ0w+ubuILnwj4B1XqVeY/V1XYbOkODZ1kMK5bl
OpH8AymLy/OyE1rj9wjUbeXKdGh+Shy/UaVAUOkpAoGBAMBIl9a7oOL4/MLLNL6L
2DGhEw6qGhULFIAB06+be/VvbaXRziI2tvZpUhxN+09wIaHAmVlGwdcrfhd1iADY
OreF3ofj2mUDfE/o5BKGhxp1auHRZc6MS2yupl3Mlj+otqiQfDpxHYqJidX5vfYg
CIF4W9u5yXR+RZYk6FEIfqWVAoGAUCcS0QVWLwITIzVW9zn+QEW5kcs4Bw9Zvi7N
KW+cSKS1nrkX0bEt1l/fO94/x+FfQ2PAxgTUhOZ2dDBJeWr+6xwU6d2wBw39Aocy
cXGS0RvgE5i0CHo5a7+V9ECse13dwjmhMHtFu8U4VbELVeT5MpWc7dCoxMtzmMhd
V4x/CnECgYAe9WyVN9r6jHrfA7v7kbaU/MSercKYkH7/39GbYgyh63ahf1TO4JOd
eIe9uWDWukk7JpGL/i8X509IbfoUXeb1uvQRElxspn/SVxVAR7l792R0nZkGgvKJ
c2Rud1NmxC+RJBuc+redxeg7JZDKzKJh7ugFB7WIqo7eogoFH5b20g==
-----END RSA PRIVATE KEY-----
18 changes: 18 additions & 0 deletions t/cert/ocsp/cfssl/intermediate_ca.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIC0jCCAboCAQAwgYwxCzAJBgNVBAYTAkNBMRAwDgYDVQQIEwdPbnRhcmlvMQ8w
DQYDVQQHEwZPdHRhd2ExEjAQBgNVBAoTCUx1YSBOZ2lueDEiMCAGA1UECxMZTHVh
IE5naW54IEludGVybWVkaWF0ZSBDQTEiMCAGA1UEAxMZTHVhIE5naW54IEludGVy
bWVkaWF0ZSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANiYB2G9
tAXPPLLLCTvMSZP8kE9KSZjwH5bTWL0EtNfaFouj/0YYa4nOoz8a5vdb3MdUsxAb
2nO+Wgi2l0N9EKcOhQpXiuxh67VGBNRuV9B1UxSM0l4iqYkr6zqeGDI2PB3IVd0P
RTjMWE68K9GafV6NV326CmWnVOPvnZ9ed5O1DbFGEV8vhZEBz/ZKYYoIxlbbMI2s
3psv3ME/nGYbg81ork16kBz9hNdbWU9zO8TLNRa3l4co66BX+QcuV2RHSfnL2upi
xek6DxiNqNwtJNdotoyC2k9DMU5WRmo/w3ETskpP7wliMGRY80jvQIfkCkV4BSQ2
Garr4u9wFb5pFz0CAwEAAaAAMA0GCSqGSIb3DQEBCwUAA4IBAQBbSuDlP44ff4te
wkwzfAhjZf7XB61T827o/kElx2X1e5Jm7Eh5EW2tpT4MTaKzmHFq5GHCk1DZgU47
3aC/xmAAVIso8kk+bjxcak74r/AMScKeZtVB9f8x6B9GjyjPTcOkVujtYnro8A+7
4VSVwg8F3zALxCNX4Ty7mYixwcf+L+TXd0XGMOr5/WmnZZeW5IIeCgqFEaqoabTR
nlgC1NG7Y5uUx5NGJjoAyYr3xKs/flj8Fi1CQbFN7ipbbnbMBGoI4NGgmIMUx+bM
Z6H7eqrW+Q84I2Jjw/EGQOjjJNUQS098DszWlh2fYROY9UnCKEOPK/YhbHrnAtNs
guVdTuab
-----END CERTIFICATE REQUEST-----
25 changes: 25 additions & 0 deletions t/cert/ocsp/cfssl/intermediate_ca.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-----BEG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cC1yZXNwb25kZXIudGVzdDANBgkqhkiG9w0B
AQsFAAOCAQEAHl9/M5n0bkIyRR5OKNqTI88GcWVm3jHOKPNkFf0lT900o7sTsS63
hweF9LG9f4i5hOC99DVcdUqsvTtw+EBjfzwNf3fj2ucHreTX3m5pOirYkekg5yaI
ttUBntttYeqAxeNg1p35SCHCI1fWJyawf0Ux5oCzKDO1aLOFWbV7bZ+p60df8W17
pxwwtfUUsh7hBzSOqdjl4MPIuOg9H/k3W3M1KzDqOaLjfuWX2JDgAE05/sWy1fSh
MQ8DjbD60VEqrdTba9oAmGROBy+4Dkdou30Xk27k/lSybbMMAPBa3FECN/FN0Gql
fQOLCBkkXV3g72B4GndHXluPeoXSkiZnPA==
-----END CERTIFICATE-----
16 changes: 16 additions & 0 deletions t/cert/ocsp/cfssl/intermediate_ca_csr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"CN": "Lua Nginx Intermediate CA",
"key": {
"algo": "rsa",
"size": 2048
},
"names": [
{
"C": "CA",
"L": "Ottawa",
"O": "Lua Nginx",
"OU": "Lua Nginx Intermediate CA",
"ST": "Ontario"
}
]
}
74 changes: 74 additions & 0 deletions t/cert/ocsp/cfssl/leaf-bundle.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
-----BEGIN CERTIFICATE-----
MIIEYDCCA0igAwIBAgIUHZQaszHdwISisXRN5ros7SvLqnswDQYJKoZIhvcNAQEL
BQAwgYwxCzAJBgNVBAYTAkNBMRAwDgYDVQQIEwdPbnRhcmlvMQ8wDQYDVQQHEwZP
dHRhd2ExEjAQBgNVBAoTCUx1YSBOZ2lueDEiMCAGA1UECxMZTHVhIE5naW54IElu
dGVybWVkaWF0ZSBDQTEiMCAGA1UEAxMZTHVhIE5naW54IEludGVybWVkaWF0ZSBD
QTAeFw0yMDA0MTgxOTU1MDBaFw0yMTA0MTgxOTU1MDBaMHIxCzAJBgNVBAYTAlVT
MRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYw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tm62FvOqwWpVja7y4RCnMeZRntvKQ
tDhDxH24kCDfOss1SUuqpa01hVLlTykLUbL7KOB3mFVQqI5PtNAQC+aRoNxpnc1M
7meCFQn9XHbMeJh70K2GHu/XZgQnhkOvZ1fHneOwlBjdBf1xT+pG/q4gGphtOTDv
bGZjfvZbicbQ9XfhjK0XH7F3YPxmNkAjnIvjlSchpAj17RiRXl1/cUfVpVtXLTZL
vL+tgPeoVM8/zQ6reLJdZyEdx4WD3siPP3AfymnyDbBcUHKnOOKy09keMQFk+cMC
AwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0O
BBYEFNkuHg9s/oZAOHa5FZ63328ntJUrMA0GCSqGSIb3DQEBCwUAA4IBAQACuF6B
lbqdIySZqbO9i26MW1yhF0O23IAh+O8tU+7A+c7w8NLyh89nIn3Vq9dUclbtnZEW
X8Bdv3CS8S1E4/g2iPJdcVSH2DvH41WjtbHA1BlUMTIXfa7DUTf9pqnzMre4jMlN
JwvX3p1U/PYlQ0AH3TP3gnrykFLe4v5sJohxcrw7wlXOXX0Epyjg3NxHqtFCoth/
qFM1+Ni3zURoU8vuAuy9f85CWTTocllyGdxj0AoYbTqh5ZuAJm2Kp4c9ALyupkQI
LIBr54fQA9ex8m3XLdt/iO5Mzn5ISe4KkmY2jhG70kO5BzkhVKP5vVBGlScsefPW
ZLRO43eiUz4Wpu8y
-----END CERTIFICATE-----
27 changes: 27 additions & 0 deletions t/cert/ocsp/cfssl/leaf-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAuCB5U89NT1r2KE5I24R46Thp+jjDbP63jmB0t+KBFtTdXMby
xaMawNFuOvtqo/+RNKo5/dNBMZ+2ixPOb6v4sYNGKALMfTfnfOQFTiMHmWdSnT8f
5EmJSBKLmCdlm8319/Q27cjUDaWaFoBqFBWazSEZxPbcumeyjJf/NvhikmM+W0j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ztq+bnkpxlIBl9FiW+7H5A
1scU9qA6BsaFNtDL4wWZyQDzvgtTiZA9sJrclaJqW0EEGaMIYTBptgEadmqwVFgJ
XV+MZbqDCW/nFXJ2eYfC0DDL4tIYub/GDjrnnElt5i1651jmOLANB088N4Y5jHhC
vzfNRQKBgQDNiGgFrduAI/ZX51oYQCMuAMQUHRzsvO4ldnyWf4YVNR1GATYkN5Gg
zi9shTvgCKQFDbEGQ77brpC0eBHacpaJ1pZTxlRCIgoRGduKubEl1tRbs809MRVK
ZotC9DzUmLWlM7NMeEugFJJqi3/BUKzDD18HSDJQU2rhXj7U7i+dPg==
-----END RSA PRIVATE KEY-----
18 changes: 18 additions & 0 deletions t/cert/ocsp/cfssl/leaf.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIC6zCCAdMCAQAwcjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWEx
FjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xETAPBgNVBAoTCEN1c3RvbWVyMRAwDgYD
VQQLEwdXZWJzaXRlMREwDwYDVQQDEwh0ZXN0LmNvbTCCASIwDQYJKoZIhvcNAQEB
BQADggEPADCCAQoCggEBALggeVPPTU9a9ihOSNuEeOk4afo4w2z+t45gdLfigRbU
3VzG8sWjGsDRbjr7aqP/kTSqOf3TQTGftosTzm+r+LGDRigCzH0353zkBU4jB5ln
Up0/H+RJiUgSi5gnZZvN9ff0Nu3I1A2lmhaAahQVms0hGcT23LpnsoyX/zb4YpJj
PltIxmri+jSipyeHrO057NfaGWhUW2cn1r5c33p311Gh6aXIty86LES5zcygJqx3
QfNqhtdfiKeuPiKiiR1TiLHJmsiMybbmeri3O7+TmisDxwsde4T0Fu/lS6wkB7aU
FsCC4Si5g2jAyNJuiusiMdUnDSqF8exbtP4FmeYY+DUCAwEAAaA0MDIGCSqGSIb3
DQEJDjElMCMwIQYDVR0RBBowGIIIdGVzdC5jb22CDHd3dy50ZXN0LmNvbTANBgkq
hkiG9w0BAQsFAAOCAQEAjgurYze82scBnta3ViHQ6SZJwP1t/rR8Vwd6Pk6TCte0
faUaOk0b4JnjDZYaB7O5q13J11Q1gIFRdKZp/VRKGwA/pzIMtb6+YtvHbQOfJQ/6
6MWHtBgH09vZ5Rfj68xGGxMJS7vwWYpzyLRP/xukxqUiNKfLUEeIxM9oYgn0WrTr
q07NLfUpOuMSQZWxAG3N6baeJLNtR3zINMUaMKbQTsyHk4fN9ARkb1wmNk94SHZP
UV0LSWHY8pekwunp7pw70PUG60IqP8RyWSDQEHfMEk8ZZOyJfGNpQ3+BQmnNZ2fb
ibTu9QDbcexBxTSVthiNh74cmbTqXs/CP/FmY7uG8Q==
-----END CERTIFICATE REQUEST-----
Loading

0 comments on commit 3d1720a

Please sign in to comment.