mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
tests(chore): Adjust supported FQDNs in test certs + add wildcard and acme.json
configs (#2284)
These files will replace the existing `test/config/letsencrypt` content which has some random provisioned FQDN for letsencrypt that doesn't match the FQDN tested, `acme.json` files with FQDNs that don't match those certs FQDNs and changes to certs that won't expire until 2031. `test/config/letsencrypt` will be removed with the associated test update PR. The changes amount to: - Re-configuring the FQDN values that some certs were created for (_needed for flexibility in testing_). - Adding an `*.example.test` wildcard (_both RSA and ECDSA_). - Adding `acme.json` encoded versions (_traefik extraction support will use these instead_). - Updated / new internal docs for maintainers of this content. For more detailed information on those changes, please see the associated commit messages via the PR.
This commit is contained in:
parent
bdb35dd19a
commit
936e5d2416
|
@ -6,6 +6,8 @@ These certificates for usage with TLS have been generated via the [Smallstep `st
|
|||
|
||||
`Certificate Details` sections are the output of: `step certificate inspect cert.<key type>.pem`.
|
||||
|
||||
Each certificate except for the wildcard one, have the SANs(Subject Alternative Name) `example.test` and `mail.example.test`.
|
||||
|
||||
---
|
||||
|
||||
**RSA (2048-bit) - self-signed:**
|
||||
|
@ -160,8 +162,6 @@ step certificate create "Smallstep Root CA" ca-cert.ecdsa.pem ca-key.ecdsa.pem \
|
|||
--profile root-ca \
|
||||
--not-before "2021-01-01T00:00:00+00:00" \
|
||||
--not-after "2031-01-01T00:00:00+00:00" \
|
||||
--san "example.test" \
|
||||
--san "mail.example.test" \
|
||||
--kty EC --crv P-256
|
||||
```
|
||||
|
||||
|
@ -175,16 +175,17 @@ step certificate create "Smallstep Leaf" cert.ecdsa.pem key.ecdsa.pem \
|
|||
--ca-key ca-key.ecdsa.pem \
|
||||
--not-before "2021-01-01T00:00:00+00:00" \
|
||||
--not-after "2031-01-01T00:00:00+00:00" \
|
||||
--san "example.test" \
|
||||
--san "mail.example.test" \
|
||||
--kty EC --crv P-256
|
||||
```
|
||||
|
||||
The Root CA certificate does not need to have the same key type as the Leaf certificate, you can mix and match if necessary (eg: an ECDSA and an RSA leaf certs with shared ECDSA Root CA cert).
|
||||
|
||||
Both FQDN continue to be assigned as SAN to certs in `with_ca/rsa/`, while certs in `with_ca/ecdsa/` are limited to `mail.example.test` for ECDSA, and `example.test` for RSA. This is to provide a bit more flexibility in test cases where specific FQDN support is required.
|
||||
|
||||
<!-- markdownlint-disable MD033 MD040 -->
|
||||
<details>
|
||||
<summary>Certificate Details (signed by Root CA key):</summary>
|
||||
<summary>Certificate Details (signed by Root CA ECDSA key):</summary>
|
||||
|
||||
`step certificate inspect with_ca/ecdsa/cert.ecdsa.pem`:
|
||||
|
||||
|
@ -192,7 +193,7 @@ The Root CA certificate does not need to have the same key type as the Leaf cert
|
|||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 28540880372304824564361820670143583738 (0x1578c60b9eedca127fe041712f9d55fa)
|
||||
Serial Number: 39948191589315458296429918694374173514 (0x1e0dbde943f3ab4144909744cd58eb4a)
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
Issuer: CN=Smallstep Root CA
|
||||
Validity
|
||||
|
@ -203,13 +204,13 @@ Certificate:
|
|||
Public Key Algorithm: ECDSA
|
||||
Public-Key: (256 bit)
|
||||
X:
|
||||
b6:64:18:5f:f6:3f:b6:b1:da:09:00:27:e9:70:4e:
|
||||
8e:11:c4:58:8d:02:a2:46:f6:5b:d5:12:9b:ea:6a:
|
||||
e4:39
|
||||
f4:5b:00:6a:6a:ca:1d:b8:15:80:81:d0:82:72:be:
|
||||
af:3a:3c:5e:a7:9b:64:21:16:19:27:f3:75:0b:eb:
|
||||
e0:fe
|
||||
Y:
|
||||
87:56:d8:43:6b:4d:5d:4a:44:73:d2:81:34:1d:cd:
|
||||
de:53:ed:62:c4:61:76:c6:bf:96:0a:0a:8e:10:fa:
|
||||
c2:63
|
||||
47:6a:6c:9e:d7:da:80:0e:1b:09:76:45:fe:8b:fd:
|
||||
79:09:f7:08:22:1a:93:20:21:74:5e:78:91:53:45:
|
||||
9e:71
|
||||
Curve: P-256
|
||||
X509v3 extensions:
|
||||
X509v3 Key Usage: critical
|
||||
|
@ -217,16 +218,16 @@ Certificate:
|
|||
X509v3 Extended Key Usage:
|
||||
Server Authentication, Client Authentication
|
||||
X509v3 Subject Key Identifier:
|
||||
48:C4:A2:B2:31:9B:9C:3D:4D:BD:58:45:60:F0:C6:16:EB:74:C0:3B
|
||||
D8:BE:56:52:27:E7:90:B0:21:5B:5F:79:D8:F8:D4:85:57:F0:2B:BC
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:3F:3D:65:1A:72:82:16:C6:20:E8:B6:FC:1B:2E:6D:A4:9C:2C:92:78
|
||||
keyid:DE:90:B3:B9:4D:C1:B3:EE:77:00:88:8B:69:EC:71:C4:30:F9:F6:7F
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:example.test, DNS:mail.example.test
|
||||
DNS:mail.example.test
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
30:46:02:21:00:b6:dc:7d:ba:f6:d9:b1:3f:28:4d:6d:4c:a4:
|
||||
e9:c5:24:80:d4:6c:a5:fc:9f:74:4e:9a:bb:5b:ca:8a:5e:dd:
|
||||
32:02:21:00:e2:c8:8b:1b:be:a2:f9:5f:cd:41:8c:0a:75:71:
|
||||
ca:e9:be:65:d1:ca:5e:50:77:f7:8a:c0:f8:03:77:1b:53:0a
|
||||
30:46:02:21:00:ad:08:7b:f0:82:41:2e:0e:cd:2b:f7:95:fd:
|
||||
ee:73:d9:93:8d:74:7c:ef:29:4d:d5:da:33:04:f0:b6:b1:6b:
|
||||
13:02:21:00:d7:f1:95:db:be:18:b8:db:77:b9:57:07:e6:b9:
|
||||
5a:3d:00:34:d3:f5:eb:18:67:9b:ba:bf:88:62:72:e9:c9:99
|
||||
```
|
||||
|
||||
</details>
|
||||
|
@ -240,7 +241,7 @@ Certificate:
|
|||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 83158808788179848488617675347018882219 (0x3e8fcdd2d80ab546924c05b4d9339cab)
|
||||
Serial Number: 91810308658606804773211369549707991484 (0x451205b3271cead885a8ea9c5c21d9bc)
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
Issuer: CN=Smallstep Root CA
|
||||
Validity
|
||||
|
@ -251,13 +252,13 @@ Certificate:
|
|||
Public Key Algorithm: ECDSA
|
||||
Public-Key: (256 bit)
|
||||
X:
|
||||
76:30:c0:21:d2:6c:6b:ca:de:be:1d:c3:5c:67:08:
|
||||
93:bf:73:53:2a:23:5d:d8:06:2a:8b:09:bc:39:fd:
|
||||
0b:0d
|
||||
cf:62:31:60:19:3d:72:78:60:59:1e:27:13:dd:cf:
|
||||
d9:11:36:28:32:af:fa:28:e4:0e:6e:ab:4b:ad:a2:
|
||||
49:00
|
||||
Y:
|
||||
a7:74:1f:7c:b9:95:73:6c:ba:00:00:d7:52:06:0c:
|
||||
e9:00:c8:aa:bb:e1:50:e7:ec:ff:bf:e5:30:bb:9b:
|
||||
18:07
|
||||
dc:6c:89:09:98:fa:f7:f2:8d:ed:50:53:db:cf:6d:
|
||||
4f:ce:9d:1a:61:97:c5:80:72:5e:26:34:4a:bb:cb:
|
||||
81:8c
|
||||
Curve: P-256
|
||||
X509v3 extensions:
|
||||
X509v3 Key Usage: critical
|
||||
|
@ -265,12 +266,81 @@ Certificate:
|
|||
X509v3 Basic Constraints: critical
|
||||
CA:TRUE, pathlen:1
|
||||
X509v3 Subject Key Identifier:
|
||||
3F:3D:65:1A:72:82:16:C6:20:E8:B6:FC:1B:2E:6D:A4:9C:2C:92:78
|
||||
DE:90:B3:B9:4D:C1:B3:EE:77:00:88:8B:69:EC:71:C4:30:F9:F6:7F
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
30:45:02:21:00:bf:d7:51:c7:7b:67:41:90:ac:c5:89:cd:04:
|
||||
60:7d:6b:da:8d:75:c2:c6:1c:18:93:82:79:96:35:19:a4:ea:
|
||||
2f:02:20:5a:bc:95:3b:de:f6:8b:00:fd:1a:69:81:57:b5:b6:
|
||||
91:0f:10:ef:2b:b2:39:83:c0:3c:a0:26:21:51:4b:40:3c
|
||||
30:44:02:20:3f:3b:90:e7:ca:82:70:8e:3f:2e:72:2a:b9:27:
|
||||
46:ac:e9:e2:4a:db:56:02:bc:a2:b2:99:e4:8d:10:7a:d5:73:
|
||||
02:20:72:25:64:b6:1c:aa:a6:c3:14:e1:66:35:bf:a1:db:90:
|
||||
ea:49:59:f9:44:e8:63:de:a8:c0:bb:9b:21:08:59:87
|
||||
```
|
||||
|
||||
</details>
|
||||
<!-- markdownlint-enable MD033 MD040 -->
|
||||
|
||||
**Wildcard Certificates:**
|
||||
|
||||
This is for testing the wildcard SAN `*.example.test`.
|
||||
|
||||
Both `with_ca/{ecdsa,rsa}/` directories contain a wildcard cert. The only difference is the Root CA cert used, and the entire chain being purely ECDSA or RSA type.
|
||||
|
||||
```sh
|
||||
# Run at `example.test/with_ca/ecdsa/`:
|
||||
step certificate create "Smallstep Leaf" wildcard/cert.ecdsa.pem wildcard/key.ecdsa.pem \
|
||||
--no-password --insecure \
|
||||
--profile leaf \
|
||||
--ca ca-cert.ecdsa.pem \
|
||||
--ca-key ca-key.ecdsa.pem \
|
||||
--not-before "2021-01-01T00:00:00+00:00" \
|
||||
--not-after "2031-01-01T00:00:00+00:00" \
|
||||
--san "*.example.test" \
|
||||
--kty EC --crv P-256
|
||||
```
|
||||
|
||||
<!-- markdownlint-disable MD033 MD040 -->
|
||||
<details>
|
||||
<summary>Certificate Details (signed by Root CA ECDSA key):</summary>
|
||||
|
||||
`step certificate inspect with_ca/ecdsa/wildcard/cert.ecdsa.pem`:
|
||||
|
||||
```
|
||||
Certificate:
|
||||
Data:
|
||||
Version: 3 (0x2)
|
||||
Serial Number: 15398717504679308720407721522825999382 (0xb95af63ae03a90f3bd5a6a740133416)
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
Issuer: CN=Smallstep Root CA
|
||||
Validity
|
||||
Not Before: Jan 1 00:00:00 2021 UTC
|
||||
Not After : Jan 1 00:00:00 2031 UTC
|
||||
Subject: CN=Smallstep Leaf
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: ECDSA
|
||||
Public-Key: (256 bit)
|
||||
X:
|
||||
2f:44:73:14:e4:e8:9a:88:a1:96:82:be:f3:e5:8b:
|
||||
94:a4:8a:ec:18:c1:73:86:cf:15:8a:e8:05:bd:46:
|
||||
71:cf
|
||||
Y:
|
||||
a1:bd:36:84:d0:b8:b3:15:f4:73:e2:53:87:0d:cd:
|
||||
e8:a5:42:9a:94:91:d8:a3:d4:e1:d1:77:5a:cb:da:
|
||||
89:ea
|
||||
Curve: P-256
|
||||
X509v3 extensions:
|
||||
X509v3 Key Usage: critical
|
||||
Digital Signature
|
||||
X509v3 Extended Key Usage:
|
||||
Server Authentication, Client Authentication
|
||||
X509v3 Subject Key Identifier:
|
||||
CA:A0:95:BE:58:73:6C:1D:EA:50:B8:BF:34:FF:D3:F1:63:33:1F:6F
|
||||
X509v3 Authority Key Identifier:
|
||||
keyid:DE:90:B3:B9:4D:C1:B3:EE:77:00:88:8B:69:EC:71:C4:30:F9:F6:7F
|
||||
X509v3 Subject Alternative Name:
|
||||
DNS:*.example.test
|
||||
Signature Algorithm: ECDSA-SHA256
|
||||
30:46:02:21:00:f2:50:c0:b5:c9:24:e5:e9:36:a6:7b:35:5d:
|
||||
38:a7:7d:81:af:02:fc:9d:fd:79:f4:2d:4c:8a:04:55:44:a8:
|
||||
3a:02:21:00:b1:2d:d2:25:18:2d:35:19:20:97:78:f1:d5:18:
|
||||
9f:11:d5:97:a9:dc:64:95:2a:6c:9d:4e:78:69:c1:92:23:23
|
||||
```
|
||||
|
||||
</details>
|
||||
|
|
26
test/test-files/ssl/example.test/traefik.md
Normal file
26
test/test-files/ssl/example.test/traefik.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Traefik `acme.json` test files
|
||||
|
||||
Traefik encodes it's provisioned certificates into `acme.json` instead of separate files, but there is nothing special about the storage or content.
|
||||
|
||||
Each `*.acme.json` file provides base64 encoded representations of their equivalent cert and key files at the same relative location.
|
||||
|
||||
The only relevant content being tested from these `acme.json` files is in `le.Certificates`, everything else is only placeholder values.
|
||||
|
||||
---
|
||||
|
||||
Certificates have been encoded into base64 for `acme.json` files from the `example.test/with_ca/{ecdsa,rsa}/` folders:
|
||||
|
||||
- Those folders each provide a Root CA cert which functions similar to _Let's Encrypt_ role for verification of the chain of trust. All leaf certificates are signed by the Root CA key file located in these two folders.
|
||||
- Leaf certificates are the kind you'd get provisioned normally via a service like _Let's Encrypt_ to use with your own server. These are available in both ECDSA and RSA, where those in `with_ca/rsa/` are valid for both FQDNs `mail.example.test` and `example.test` as SANs; but those in `with_ca/ecdsa/` are restricted to one FQDN.
|
||||
- Each `acme.json` file lists the supported FQDNs in the `sans` field. Presently `main` is always `Smallstep Leaf`, which is associated to the certificate "Subject CN", which was often used for an FQDN in the past prior to SAN support. `main` can still provide a valid FQDN, but none of the test `acme.json` have a matching cert to test against.
|
||||
- There is also two wildcard configs, where the only difference is a pure ECDSA or RSA chain for `*.example.test`.These are valid for subdomains of `example.test` such as: `mail.example.test`, but not `example.test` itself.
|
||||
|
||||
---
|
||||
|
||||
Encode and decode certs easily via the [`step base64`](https://smallstep.com/docs/step-cli/reference/base64) command:
|
||||
|
||||
- Decode: `echo 'YmFzZTY0IGVuY29kZWQgc3RyaW5nCg==' | step base64 -d`
|
||||
Optionally write the output to a file: `> example.test/with_ca/ecdsa/cert.rsa.pem`
|
||||
- Encode: `cat example.test/with_ca/ecdsa/cert.rsa.pem | step base64`
|
||||
- Inspect the PEM encoded data: `step certificate inspect example.test/with_ca/ecdsa/cert.rsa.pem`
|
||||
Note: `step certificate inspect` will only work with valid PEM encoded files, not the example base64 value to decode here.
|
|
@ -1,10 +1,10 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIBezCCASGgAwIBAgIQPo/N0tgKtUaSTAW02TOcqzAKBggqhkjOPQQDAjAcMRow
|
||||
MIIBejCCASGg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MCnVxyum+ZdHKXlB394rA+AN3G1MK
|
||||
AQYIKoZIzj0DAQcDQgAE9FsAamrKHbgVgIHQgnK+rzo8XqebZCEWGSfzdQvr4P5H
|
||||
amye19qADhsJdkX+i/15CfcIIhqTICF0XniRU0WecaOBkDCBjTAOBgNVHQ8BAf8E
|
||||
BAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBTY
|
||||
vlZSJ+eQsCFbX3nY+NSFV/ArvDAfBgNVHSMEGDAWgBTekLO5TcGz7ncAiItp7HHE
|
||||
MPn2fzAcBgNVHREEFTATghFtYWlsLmV4YW1wbGUudGVzdDAKBggqhkjOPQQDAgNJ
|
||||
ADBGAiEArQh78IJBLg7NK/eV/e5z2ZONdHzvKU3V2jME8LaxaxMCIQDX8ZXbvhi4
|
||||
23e5VwfmuVo9ADTT9esYZ5u6v4hicunJmQ==
|
||||
-----END CERTIFICATE-----
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIICnTCCAkOgAwIBAgIQa9dHWr1hoQZ5sVU5yjIGlDAKBggqhkjOPQQDAjAcMRow
|
||||
GAYDVQQDExFTbWFsbHN0ZXAgUm9vdCBDQTAeFw0yMTAxMDEwMDAwMDBaFw0zMTAx
|
||||
MDEwMDAwMDBaMBkxFzAVBgNVBAMTDlNtYWxsc3RlcCBMZWFmMIIBIjANBgkqhkiG
|
||||
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAraT2GdokyQRFFESQ0tQtS+lq952GoUqEhKwv
|
||||
O4NIsYHtfhboUbWdjUQcI9reiBVeiv0o/BmwCZUm31dqT0tb1fF1GvEkapZufCy8
|
||||
EXe84TYeJGtek34tTWd9uxAYpSI8igVfvlrGKMPzphQlgSXoH7lyrFBjzzBv96il
|
||||
9PzH7iEoYzlwBx3pHIHLeyivzFEnyvVUlKDNyaQkwroVt6/8CyAfzn46mvujutEh
|
||||
owFJGgQxnbiloqJ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QRBNiu+Qgpqg+9js0MTI7rBQtOf63fsCAwEAAaOBizCB
|
||||
iDAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMC
|
||||
MB0GA1UdDgQWBBQ8autoXwYktv9eakYZBjHpMn13bzAfBgNVHSMEGDAWgBTekLO5
|
||||
TcGz7ncAiItp7HHEMPn2fzAXBgNVHREEEDAOggxleGFtcGxlLnRlc3QwCgYIKoZI
|
||||
zj0EAwIDRwAwRAIgPmKrjFMwmanoAavvmWzPDhyGl/wF/YIH4f95n4tSzroCIDW0
|
||||
KQ9KnNpcqGcr70qOFxtaGZ/cDGf9BwzoWT7fS/8r
|
||||
-----END CERTIFICATE-----
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "EC256"
|
||||
},
|
||||
"Certificates": [
|
||||
{
|
||||
"domain": {
|
||||
"main": "Smallstep Leaf",
|
||||
"sans": ["mail.example.test"]
|
||||
},
|
||||
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJ4VENDQVdxZ0F3SUJBZ0lRSGcyOTZVUHpxMEZFa0pkRXpWanJTakFLQmdncWhrak9QUVFEQWpBY01Sb3cKR0FZRFZRUURFeEZUYldGc2JITjBaWEFnVW05dmRDQkRRVEFlRncweU1UQXhNREV3TURBd01EQmFGdzB6TVRBeApNREV3TURBd01EQmFNQmt4RnpBVkJnTlZCQU1URGxOdFlXeHNjM1JsY0NCTVpXRm1NRmt3RXdZSEtvWkl6ajBDCkFRWUlLb1pJemowREFRY0RRZ0FFOUZzQWFtcktIYm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AwEHoUQDQgAEtmQYX/Y/trHaCQAn6XBOjhHEWI0Cokb2W9USm+pq5DmHVthDa01d
|
||||
SkRz0oE0Hc3eU+1ixGF2xr+WCgqOEPrCYw==
|
||||
MHcCAQEEIMl9lvsiSWUqCQ+cvXdiMApfVhQ/XH8zuiNhFD3JbGv9oAoGCCqGSM49
|
||||
AwEHoUQDQgAE9FsAamrKHbgVgIHQgnK+rzo8XqebZCEWGSfzdQvr4P5Hamye19qA
|
||||
DhsJdkX+i/15CfcIIhqTICF0XniRU0WecQ==
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
|
|
@ -1,27 +1,27 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEpQIBAAKCAQEAraT2GdokyQRFFESQ0tQtS+lq952GoUqEhKwvO4NIsYHtfhbo
|
||||
UbWdjUQcI9reiBVeiv0o/BmwCZUm31dqT0tb1fF1GvEkapZufCy8EXe84TYeJGte
|
||||
k34tTWd9uxAYpSI8igVfvlrGKMPzphQlgSXoH7lyrFBjzzBv96il9PzH7iEoYzlw
|
||||
Bx3pHIHLeyivzFEnyvVUlKDNyaQkwroVt6/8CyAfzn46mvujutEhowFJGgQxnbil
|
||||
oqJmk+BYHKw9BepbUsqB1xIv5ASUlPZSgBjR59/SfJCTV2TFsF9QB+L0Ev2X6Vv9
|
||||
va5Hlj2FszHraxV82R/vJ90pMxVfffHloe3qTwIDAQABAoIBAQClg0uhMLFHee5u
|
||||
dzyj+OKELSVsiJY/P0w5OfZ7f5PWvsWlHiirWbWnZXh9JK5ggB3x1YUvZzzIpYa7
|
||||
9BK9KlOLBfBdkeToRCNj8TACZmN/N5pblIw9glOkKDVMDPewz4Vs+dpdEyE20jB3
|
||||
6VQmWf973cRUQvwgDUdshTBK6HeZnid0SoRNSDA5ygYNU/q6LLaEWdingHw7A3GP
|
||||
kwJSgB9ZCYGubgwwu+XCpAdEcX/sc24JDyLFyrp9ei/Qs2IkIAQfLoCmn2gNsD2P
|
||||
77HfhkOg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dhxYShEhDeDVdcu4yOnDIo9+DmWYXqoIzmdsCgYBI8zKrNc1W2/jX6taKDXL0
|
||||
qRvdPF19G/0NkStkx5MnRpr8pICBM3ts7IN1rH22ZI6jzCaqwbjOJLX9+mo6Bw7N
|
||||
KDTEOcMb+2dBxK/p4eQyLqXeIj1BH6Cy5N8cnz3WfWFu7UfOYfWTKvnBYqa+GGGo
|
||||
sdy1XBnPe6LiJORxQpl/oQKBgDyZg/XrBs2Ffy9/aEnZqRIzE+tswhRYzhn5hsh3
|
||||
WjO4tHlgioUFzLVVeKXf/471opOreeDldVON2w40DSnz40tB0XvQF8f9S/FztFgp
|
||||
sMIVe6tfoHODsS+U3raxXl0aYOjZTtnWPh32qUjHCDDxGHnQLT5F5k/MICvlA3WV
|
||||
kYX1AoGAcdctwNK1hzZNtZwmkAKtmizRGAI4Hq4tRoBqSvrCz59BCY1/VnYZYWTz
|
||||
/6E/fQuzv7/7auiUy2HM0QHjzKjNzZDshM2DegPR5C6kn/LsDwYz9u5Tq7huk8L3
|
||||
5HpxnIhEoy4mQydLuXEu4ZNGprME1giiCG2tTH3o1CjsmuVAnuQ=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
|
|
29
test/test-files/ssl/example.test/with_ca/ecdsa/rsa.acme.json
Normal file
29
test/test-files/ssl/example.test/with_ca/ecdsa/rsa.acme.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "RSA2048"
|
||||
},
|
||||
"Certificates": [
|
||||
{
|
||||
"domain": {
|
||||
"main": "Smallstep Leaf",
|
||||
"sans": ["example.test"]
|
||||
},
|
||||
"certificate": "LS0tLS1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X
|
||||
ePHVGJ8R1Zep3GSVKmydTnhpwZIjIw==
|
||||
-----END CERTIFICATE-----
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "EC256"
|
||||
},
|
||||
"Certificates": [
|
||||
{
|
||||
"domain": {
|
||||
"main": "Smallstep Leaf",
|
||||
"sans": ["*.example.test"]
|
||||
},
|
||||
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJ3akNDQVdlZ0F3SUJBZ0lRQzVXdlk2NERxUTg3MWFhblFCTTBGakFLQmdncWhrak9QUVFEQWpBY01Sb3cKR0FZRFZRUURFeEZUYldGc2JITjBaWEFnVW05dmRDQkRRVEFlRncweU1UQXhNREV3TURBd01EQmFGdzB6TVRBeApNREV3TURBd01EQmFNQmt4RnpBVkJnTlZCQU1URGxOdFlXeHNjM1JsY0NCTVpXRm1NRmt3RXdZSEtvWkl6ajBDCkFRWUlLb1pJemowREFRY0RRZ0FFTDBSekZPVG9tb2lobG9LKzgrV0xsS1NLN0JqQmM0YlBGWXJvQmIxR2NjK2gKdlRhRTBMaXpGZlJ6NGxPSERjM29wVUthbEpIWW85VGgwWGRheTlxSjZxT0JqVENCaWpBT0JnTlZIUThCQWY4RQpCQU1DQjRBd0hRWURWUjBsQkJZd0ZBWUlLd1lCQlFVSEF3RUdDQ3NHQVFVRkJ3TUNNQjBHQTFVZERnUVdCQlRLCm9KVytXSE5zSGVwUXVMODAvOVB4WXpNZmJ6QWZCZ05WSFNNRUdEQVdnQlRla0xPNVRjR3o3bmNBaUl0cDdISEUKTVBuMmZ6QVpCZ05WSFJFRUVqQVFnZzRxTG1WNFlXMXdiR1V1ZEdWemREQUtCZ2dxaGtqT1BRUURBZ05KQURCRwpBaUVBOGxEQXRja2s1ZWsycG5zMVhUaW5mWUd2QXZ5ZC9YbjBMVXlLQkZWRXFEb0NJUUN4TGRJbEdDMDFHU0NYCmVQSFZHSjhSMVplcDNHU1ZLbXlkVG5ocHdaSWpJdz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
|
||||
"key": "LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUNSSk9mUGVPSVVvNXl3RW52S0R6dkVJMUtQejV2ZjFrNno5bUN0MlBwYzlvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFTDBSekZPVG9tb2lobG9LKzgrV0xsS1NLN0JqQmM0YlBGWXJvQmIxR2NjK2h2VGFFMExpegpGZlJ6NGxPSERjM29wVUthbEpIWW85VGgwWGRheTlxSjZnPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=",
|
||||
"Store": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEICRJOfPeOIUo5ywEnvKDzvEI1KPz5vf1k6z9mCt2Ppc9oAoGCCqGSM49
|
||||
AwEHoUQDQgAEL0RzFOTomoihloK+8+WLlKSK7BjBc4bPFYroBb1Gcc+hvTaE0Liz
|
||||
FfRz4lOHDc3opUKalJHYo9Th0Xday9qJ6g==
|
||||
-----END EC PRIVATE KEY-----
|
29
test/test-files/ssl/example.test/with_ca/rsa/ecdsa.acme.json
Normal file
29
test/test-files/ssl/example.test/with_ca/rsa/ecdsa.acme.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "EC256"
|
||||
},
|
||||
"Certificates": [
|
||||
{
|
||||
"domain": {
|
||||
"main": "Smallstep Leaf",
|
||||
"sans": ["example.test", "mail.example.test"]
|
||||
},
|
||||
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNrekNDQVh1Z0F3SUJBZ0lRWHY0V05DN3lTS20xRDNwcDdtSkJyakFOQmdrcWhraUc5dzBCQVFzRkFEQWMKTVJvd0dBWURWUVFERXhGVGJXRnNiSE4wWlhBZ1VtOXZkQ0JEUVRBZUZ3MHlNVEF4TURFd01EQXdNREJhRncwegpNVEF4TURFd01EQXdNREJhTUJreEZ6QVZCZ05WQkFNVERsTnRZV3hzYzNSbGNDQk1aV0ZtTUZrd0V3WUhLb1pJCnpqMENBUVlJS29aSXpqMERBUWNEUWdBRTM0YzFCYXgrMDF5b3Q1RXlMN2dtOGpBam9MVnZtZk9oZWlybEFXc1QKNjFVV1VDbFk2UHZwZExPTHZEa0ZTb2xLa0ROZzhGQzJ2WjU3SDViTTJHN3lNcU9CbmpDQm16QU9CZ05WSFE4QgpBZjhFQkFNQ0JhQXdIUVlEVlIwbEJCWXdGQVlJS3dZQkJRVUhBd0VHQ0NzR0FRVUZCd01DTUIwR0ExVWREZ1FXCkJCUlQwcWN1MG1LR0Q2WC82UTF1NWgwOXV5czN2REFmQmdOVkhTTUVHREFXZ0JRZHorM01GRXo5M0VDNDh0MHIKNzUwbUVDOC93ekFxQmdOVkhSRUVJekFoZ2d4bGVHRnRjR3hsTG5SbGMzU0NFVzFoYVd3dVpYaGhiWEJzWlM1MApaWE4wTUEwR0NTcUdTSWIzRFFFQkN3VUFBNElCQVFBRXp4M0xPM2c4Tk9FN1ArNWkzWTBpS3YrUUc2VU1SdGVSCnZnSW1jNGw1Vm5TYThCanlBT1B2WU5FSTlnRlVlSXhDc2xNcmMxV2g0cmZIS3ltb1FrOTFLUUdrTUFPM2NiSWEKYXh5WGRNWE5sbHdPbTJGSXFURnJLMEQycFo1S1NHblFtTkdmajZiTWwzaEhIYzBRT1Y3YmdNa1NkZGJtczFQWQpIeEdmRk81VWxzZUxidkNIajh0b2ZhbUNUcit0OWk1aW9BT3BvYU9UT3lxMzRwSWdZN0FuREU0L3pNUC9hQ3FpCmR4RDZOTzhnY2VianVQckY0b2krOHdFcVNsNS9qUE5RdS93ZnVwNG1QakRsMVBlblN5dWUyUGZ1SGViSE9lRWgKMzlwWk5xKzZVZnNDbXcxMW1xaUROYTlYcWFSQlJNZEV0ek1pRXM0TUIwM1JCTHQ5N0tPTQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==",
|
||||
"key": "LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUIvTXpNMHFLTUQ2NkptRUtPK09Ha2dXTko5R3RoZXl0bTYycmd4U0lwckxvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFMzRjMUJheCswMXlvdDVFeUw3Z204akFqb0xWdm1mT2hlaXJsQVdzVDYxVVdVQ2xZNlB2cApkTE9MdkRrRlNvbEtrRE5nOEZDMnZaNTdINWJNMkc3eU1nPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=",
|
||||
"Store": "default"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
29
test/test-files/ssl/example.test/with_ca/rsa/rsa.acme.json
Normal file
29
test/test-files/ssl/example.test/with_ca/rsa/rsa.acme.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "RSA2048"
|
||||
},
|
||||
"Certificates": [
|
||||
{
|
||||
"domain": {
|
||||
"main": "Smallstep Leaf",
|
||||
"sans": ["example.test", "mail.example.test"]
|
||||
},
|
||||
"certificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURYekNDQWtlZ0F3SUJBZ0lSQUt4NEFhdmVmdWdCZ0lKRzN6ZWwzUDR3RFFZSktvWklodmNOQVFFTEJRQXcKSERFYU1CZ0dBMVVFQXhNUlUyMWhiR3h6ZEdWd0lGSnZiM1FnUTBFd0hoY05NakV3TVRBeE1EQXdNREF3V2hjTgpNekV3TVRBeE1EQXdNREF3V2pBWk1SY3dGUVlEVlFRREV3NVRiV0ZzYkhOMFpYQWdUR1ZoWmpDQ0FTSXdEUVlKCktvWklodmNOQVFFQkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU9BVVpWek9LOUFwbWNqZnE1eDlvNDhFUUxtWm0vWGIKaGJXUUdWMDkzeUllY3NXSkQzUngvQXM1Zm80VExkelM4WGFvNmRsWHF6bFZSTmp2Q21QQVRzNmRKblZQMXRtLwphcWVWRndLSHFoNWxoSHF4OTNGWUtUUGJNY3BRSEdmVk5ZOHJEMy9hTHJUYmNXaXFHZDl3cktVQVVKTzhMT1M0CkhoRnNqY1VZd3VsWGtvc0hpWWlvWklta3NxMVovY3UxTDNmelV1UEg1V3lSazhOaCthWFV1WHBIR3hUUzFkalMKcDdkM09qRXZLNU9iOEFKUWprWTNWUzkwS2x4cVE5NGVwUFhQeHAwaGRZcE94YnN3WFUwRk1GNFNlTzF5Yy9RVwpLZXFLdFBNdlJ3ZytJWHdrVEhxRFJ5Wk1IbjV4cnZBT2FWMWprcCttakRwdG9RcFVLekIwT1hVQ0F3RUFBYU9CCm5qQ0JtekFPQmdOVkhROEJBZjhFQkFNQ0JhQXdIUVlEVlIwbEJCWXdGQVlJS3dZQkJRVUhBd0VHQ0NzR0FRVUYKQndNQ01CME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xt8o/5N/MmKRHZkbB+aVSRVBRefwRy3tDzPAoGBAM9o
|
||||
9VveXFcHxED+L8NV6Pxv4Pe+Pc8UatmGCjgDWVr2kpcEI0oDxPMmUkQEoTFJce+H
|
||||
D5kEy9eInENb+fGsxkz89Qu5dUEyNJrMULgkPuY8wDUfUCwJguz54Kr1Gp1RsQZt
|
||||
GSQQz1hYiMtG80U88R+UUr2CiqixKQAxwAczuqIbAoGBAI1dXKM1cb4yhkUp9uxH
|
||||
egeP2V74TkZh+BZ749rQjMwjQ7Wa8u7pPLrmCheoLYoAQBVvLEodp/TnTH9YGt+M
|
||||
v1LkymHxVojwga1b8KHz0tJy7R+h2suzf/veqviYgnTCbXAQ+y1xFiRQtnhFXydN
|
||||
1yoN0854ANzRTCAwAkwnh4N5AoGAH1TPm60fbdYyg07ikDNuGpQb+9C1LY78BRgG
|
||||
eyemW+NbiYyKeCfRnJlxW+0HHJbnqzNP2+GpmUl9sX83Zpae7gpYSgkd+VdIMwoi
|
||||
N27iQY1zy5KLXduh94JXufuEpbctcrcQUS5o5AObxnlVTmRCWG7jgNUzdQAuHWVm
|
||||
iK/7xXkCgYB6WmBfvlOdUEXok8/H/UIeAYTjPhsBynuucgz/5RcyAiXZrWDCCOei
|
||||
SVqhEm7pZ01DlKhIKX1bCnbjwk7yGK382kkhkHMpSDh6JrkwfPMq6LOZvntP7HMA
|
||||
Lj++wxwaCldG7g2vKazWQ4xV08JbQ0SQWMDVofH6SAF27SpPjSeicQ==
|
||||
-----END RSA PRIVATE KEY-----
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"le": {
|
||||
"Account": {
|
||||
"Email": "acme@example.test",
|
||||
"Registration": {
|
||||
"body": {
|
||||
"status": "valid",
|
||||
"contact": [
|
||||
"mailto:acme@example.test"
|
||||
]
|
||||
},
|
||||
"uri": "https://acme-v02.api.letsencrypt.org/acme/acct/0123456789"
|
||||
},
|
||||
"PrivateKey": "x",
|
||||
"KeyType": "RSA2048"
|
||||
},
|
||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