mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
regenerate keys/certs for integration tests with expiration far in the future
don't want to have expiring tests...
This commit is contained in:
parent
05fd5c6947
commit
41167d6393
19 changed files with 117 additions and 106 deletions
8
testdata/integration/tls/Makefile
vendored
8
testdata/integration/tls/Makefile
vendored
|
@ -1,6 +1,6 @@
|
||||||
default:
|
default:
|
||||||
cfssl genkey -initca cfssl-ca-csr.json | cfssljson -bare ca
|
cfssl genkey -initca cfssl-ca-csr.json | cfssljson -bare ca
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail1.mox1.example - | cfssljson -bare moxmail1
|
echo '{}' | cfssl gencert -config config.json -profile server -ca ca.pem -ca-key ca-key.pem -hostname moxmail1.mox1.example - | cfssljson -bare moxmail1
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail2.mox2.example - | cfssljson -bare moxmail2
|
echo '{}' | cfssl gencert -config config.json -profile server -ca ca.pem -ca-key ca-key.pem -hostname moxmail2.mox2.example - | cfssljson -bare moxmail2
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail3.mox3.example - | cfssljson -bare moxmail3
|
echo '{}' | cfssl gencert -config config.json -profile server -ca ca.pem -ca-key ca-key.pem -hostname moxmail3.mox3.example - | cfssljson -bare moxmail3
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname postfixmail.postfix.example - | cfssljson -bare postfixmail
|
echo '{}' | cfssl gencert -config config.json -profile server -ca ca.pem -ca-key ca-key.pem -hostname postfixmail.postfix.example - | cfssljson -bare postfixmail
|
||||||
|
|
6
testdata/integration/tls/ca-key.pem
vendored
6
testdata/integration/tls/ca-key.pem
vendored
|
@ -1,5 +1,5 @@
|
||||||
-----BEGIN EC PRIVATE KEY-----
|
-----BEGIN EC PRIVATE KEY-----
|
||||||
MHcCAQEEIN97sFIQvlyDdhL+pOAef4m+N8Zfd2pnEerVO6Q/6lZZoAoGCCqGSM49
|
MHcCAQEEIAIxWviXAT3jP2y0nbypyq+r9SoToR1Z8l4/ShXFalyPoAoGCCqGSM49
|
||||||
AwEHoUQDQgAE7tPhHDjRBEA9mx7sDr+XJwWncOzgP/mL9ytOP3RkltySAlhai3DG
|
AwEHoUQDQgAEsW53/bewar4hugHCihjjl6ljDq21xPq96IJMMTjrGSyDQQczZEba
|
||||||
ew9zHAZGQXy/a7X9OH345ZRjbU8HYXwosQ==
|
6FVLV/RN/oE59Tx1a3jEusyooKnIj6ut+Q==
|
||||||
-----END EC PRIVATE KEY-----
|
-----END EC PRIVATE KEY-----
|
||||||
|
|
11
testdata/integration/tls/ca.csr
vendored
11
testdata/integration/tls/ca.csr
vendored
|
@ -1,7 +1,8 @@
|
||||||
-----BEGIN CERTIFICATE REQUEST-----
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
MIHRMHgCAQAwFjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwWTATBgcqhkjOPQIBBggq
|
MIH0MIGaAgEAMBYxFDASBgNVBAMTC21veCB0ZXN0IGNhMFkwEwYHKoZIzj0CAQYI
|
||||||
hkjOPQMBBwNCAATu0+EcONEEQD2bHuwOv5cnBadw7OA/+Yv3K04/dGSW3JICWFqL
|
KoZIzj0DAQcDQgAEsW53/bewar4hugHCihjjl6ljDq21xPq96IJMMTjrGSyDQQcz
|
||||||
cMZ7D3McBkZBfL9rtf04ffjllGNtTwdhfCixoAAwCgYIKoZIzj0EAwIDSQAwRgIh
|
ZEba6FVLV/RN/oE59Tx1a3jEusyooKnIj6ut+aAiMCAGCSqGSIb3DQEJDjETMBEw
|
||||||
AKunSJ1xcXiLcHLfGAM6bUvHfENwrvWzYaQN+5ykggbBAiEA0s5VRd7H9+2fjcI8
|
DwYDVR0TAQH/BAUwAwEB/zAKBggqhkjOPQQDAgNJADBGAiEAtwFHGm+7zqxnpj6i
|
||||||
CzIa97rwFKeTVowcRdaPg63m+ao=
|
EwLMRlXOY0U23xQajcLA/IknZkQCIQCB5ynsMvFJ49EmkcrfRALSqHIHZneH9p0Q
|
||||||
|
1CHHfQj6Fg==
|
||||||
-----END CERTIFICATE REQUEST-----
|
-----END CERTIFICATE REQUEST-----
|
||||||
|
|
16
testdata/integration/tls/ca.pem
vendored
16
testdata/integration/tls/ca.pem
vendored
|
@ -1,10 +1,10 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIBbzCCARagAwIBAgIUEMP01440qIjpWLU0HRVeJgC0LVEwCgYIKoZIzj0EAwIw
|
MIIBcjCCARigAwIBAgIUZhjg/4oAiX7YspAARmOjFojGseQwCgYIKoZIzj0EAwIw
|
||||||
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwHhcNMjIwNzE2MTAyMTAwWhcNMjcwNzE1
|
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwIBcNMjMwNjA0MTgzNzAwWhgPMjA1MzA1
|
||||||
MTAyMTAwWjAWMRQwEgYDVQQDEwttb3ggdGVzdCBjYTBZMBMGByqGSM49AgEGCCqG
|
MjcxODM3MDBaMBYxFDASBgNVBAMTC21veCB0ZXN0IGNhMFkwEwYHKoZIzj0CAQYI
|
||||||
SM49AwEHA0IABO7T4Rw40QRAPZse7A6/lycFp3Ds4D/5i/crTj90ZJbckgJYWotw
|
KoZIzj0DAQcDQgAEsW53/bewar4hugHCihjjl6ljDq21xPq96IJMMTjrGSyDQQcz
|
||||||
xnsPcxwGRkF8v2u1/Th9+OWUY21PB2F8KLGjQjBAMA4GA1UdDwEB/wQEAwIBBjAP
|
ZEba6FVLV/RN/oE59Tx1a3jEusyooKnIj6ut+aNCMEAwDgYDVR0PAQH/BAQDAgEG
|
||||||
BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRR0sv3suD7vFwQZGy0rbNvqrI0+zAK
|
MA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFO2GIS1aM4NtFS+a+DrMcmjWiKYB
|
||||||
BggqhkjOPQQDAgNHADBEAiB0PgtHNkdHHRAFessYbdDZ9RviDFP57WEHnIn7kNcS
|
MAoGCCqGSM49BAMCA0gAMEUCIQCvkuuvPMAW1d3Xns7TYjSa/NFxSjFyiGKsaaJX
|
||||||
0QIgdfPb0TOlpOfF3HcUu0F0rXZzzV1lLzKhbosaJF4WH6M=
|
ohvCLgIgUkSVYc71RHa5AB3geVbXmmwrFF40+gB1cW7oGwkScBM=
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
3
testdata/integration/tls/cfssl-ca-csr.json
vendored
3
testdata/integration/tls/cfssl-ca-csr.json
vendored
|
@ -3,5 +3,8 @@
|
||||||
"key": {
|
"key": {
|
||||||
"algo": "ecdsa",
|
"algo": "ecdsa",
|
||||||
"size": 256
|
"size": 256
|
||||||
|
},
|
||||||
|
"ca": {
|
||||||
|
"expiry": "262800h"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
17
testdata/integration/tls/config.json
vendored
Normal file
17
testdata/integration/tls/config.json
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"signing": {
|
||||||
|
"default": {
|
||||||
|
"expiry": "262800h"
|
||||||
|
},
|
||||||
|
"profiles": {
|
||||||
|
"server": {
|
||||||
|
"expiry": "262800h",
|
||||||
|
"usages": [
|
||||||
|
"signing",
|
||||||
|
"key encipherment",
|
||||||
|
"server auth"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
6
testdata/integration/tls/moxmail1-key.pem
vendored
6
testdata/integration/tls/moxmail1-key.pem
vendored
|
@ -1,5 +1,5 @@
|
||||||
-----BEGIN EC PRIVATE KEY-----
|
-----BEGIN EC PRIVATE KEY-----
|
||||||
MHcCAQEEIMCay45qmjn2bA3kPGYugT2yZDeDDfFjvGCYK/JTIYW4oAoGCCqGSM49
|
MHcCAQEEIOZXlR9z/jixe9bjSjHOURN0EFLTr9Wumw7W3Zr+XMPmoAoGCCqGSM49
|
||||||
AwEHoUQDQgAERRAPZyVWeoVqJyo2+OxWjo9oFRy/NGjDvcRjstZMFIJCn6DQUA+i
|
AwEHoUQDQgAEjzxO852bzPodARDVgWUk+/Xy+G4SEImtN/5De0KgcUWXvVuJFjGg
|
||||||
Yf/dn1wPqv50UIIKOL1LxykuwRt8OYya/w==
|
ruBgyBAoHEkYau53Jcu3ZjHRFdi9RkwlbA==
|
||||||
-----END EC PRIVATE KEY-----
|
-----END EC PRIVATE KEY-----
|
||||||
|
|
12
testdata/integration/tls/moxmail1.csr
vendored
12
testdata/integration/tls/moxmail1.csr
vendored
|
@ -1,8 +1,8 @@
|
||||||
-----BEGIN CERTIFICATE REQUEST-----
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
MIHvMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARFEA9nJVZ6hWon
|
MIHuMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASPPE7znZvM+h0B
|
||||||
Kjb47FaOj2gVHL80aMO9xGOy1kwUgkKfoNBQD6Jh/92fXA+q/nRQggo4vUvHKS7B
|
ENWBZST79fL4bhIQia03/kN7QqBxRZe9W4kWMaCu4GDIECgcSRhq7ncly7dmMdEV
|
||||||
G3w5jJr/oDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMS5t
|
2L1GTCVsoDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMS5t
|
||||||
b3gxLmV4YW1wbGUwCgYIKoZIzj0EAwIDSQAwRgIhAPyDmstt5ukiS81O0uitofi7
|
b3gxLmV4YW1wbGUwCgYIKoZIzj0EAwIDSAAwRQIhAKng26zqtKmRJtpkIdJNQD4C
|
||||||
UYd/4qBJSyT8HQYnTON/AiEAw5GGRwkhu1aQv5vEOsgwSKvxVPKPKEVxY26Isfzv
|
hIBp+0jUC6apWFW8bvdFAiA/l0HfqQ1/OApMdgM8gNxZSwl13ZCqJlacTwYfkm4r
|
||||||
D5M=
|
1Q==
|
||||||
-----END CERTIFICATE REQUEST-----
|
-----END CERTIFICATE REQUEST-----
|
||||||
|
|
20
testdata/integration/tls/moxmail1.pem
vendored
20
testdata/integration/tls/moxmail1.pem
vendored
|
@ -1,12 +1,12 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIBvjCCAWSgAwIBAgIUJLRcyx8Hd2aaLBaeR/rIg09mH1swCgYIKoZIzj0EAwIw
|
MIIBtjCCAVygAwIBAgIUeowpo7RMCenGjlCR+4SEza90HVIwCgYIKoZIzj0EAwIw
|
||||||
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwHhcNMjIwNzE2MTAyMTAwWhcNMjMwNzE2
|
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwIBcNMjMwNjA0MTgzNzAwWhgPMjA1MzA1
|
||||||
MTAyMTAwWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAERRAPZyVWeoVqJyo2
|
MjcxODM3MDBaMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASPPE7znZvM+h0B
|
||||||
+OxWjo9oFRy/NGjDvcRjstZMFIJCn6DQUA+iYf/dn1wPqv50UIIKOL1LxykuwRt8
|
ENWBZST79fL4bhIQia03/kN7QqBxRZe9W4kWMaCu4GDIECgcSRhq7ncly7dmMdEV
|
||||||
OYya/6OBpTCBojAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEG
|
2L1GTCVso4GbMIGYMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcD
|
||||||
CCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFCW6u2WYBTHKIuzzax/N
|
ATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBReQyt9RscC4SFTh6RPr1uxYSUWjDAf
|
||||||
OqbttiXqMB8GA1UdIwQYMBaAFFHSy/ey4Pu8XBBkbLSts2+qsjT7MCMGA1UdEQEB
|
BgNVHSMEGDAWgBTthiEtWjODbRUvmvg6zHJo1oimATAjBgNVHREBAf8EGTAXghVt
|
||||||
/wQZMBeCFW1veG1haWwxLm1veDEuZXhhbXBsZTAKBggqhkjOPQQDAgNIADBFAiEA
|
b3htYWlsMS5tb3gxLmV4YW1wbGUwCgYIKoZIzj0EAwIDSAAwRQIgC2+MAUGSugMc
|
||||||
9/3OrGeip/sUL+aKlFCicBJqD7B4jR+wFCVffwU3RoUCIFSIvYKafCjW9U1c+6Ua
|
ffJ698+eTVHlxpR8C9PCs8udQVv2noYCIQC4ubNYPW3ZYdvQlRf2Svf3Al2vRl1N
|
||||||
7wodN2znLa/oAdIW3KoF/hsO
|
pqt76JJVh9NTMA==
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
6
testdata/integration/tls/moxmail2-key.pem
vendored
6
testdata/integration/tls/moxmail2-key.pem
vendored
|
@ -1,5 +1,5 @@
|
||||||
-----BEGIN EC PRIVATE KEY-----
|
-----BEGIN EC PRIVATE KEY-----
|
||||||
MHcCAQEEIH8kxf1fX7q/v+dFi4Fkc18Dxp3Hy9LOh+TZOY7nRV/BoAoGCCqGSM49
|
MHcCAQEEIOw1oRBmOXVQd5MZiN1LzPqvqyoCoUpOc3GhO60WRgKFoAoGCCqGSM49
|
||||||
AwEHoUQDQgAEKwVAXfCUjaV74FjXYg7dt1/7uizAoGd689doLTDk1BZNb1vEY7BV
|
AwEHoUQDQgAEraCc8aRtk7kusBZ1FK/DMPiicc9FEjvbtHWT8lCPMAXjKWU/wG31
|
||||||
8KCCaTC6alltxtd1DSvG17xl3WvsXaNRXA==
|
OktPDzfzu3Unvw1HT+/ljUahJ94InlSDZQ==
|
||||||
-----END EC PRIVATE KEY-----
|
-----END EC PRIVATE KEY-----
|
||||||
|
|
12
testdata/integration/tls/moxmail2.csr
vendored
12
testdata/integration/tls/moxmail2.csr
vendored
|
@ -1,8 +1,8 @@
|
||||||
-----BEGIN CERTIFICATE REQUEST-----
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
MIHvMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQrBUBd8JSNpXvg
|
MIHuMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAStoJzxpG2TuS6w
|
||||||
WNdiDt23X/u6LMCgZ3rz12gtMOTUFk1vW8RjsFXwoIJpMLpqWW3G13UNK8bXvGXd
|
FnUUr8Mw+KJxz0USO9u0dZPyUI8wBeMpZT/AbfU6S08PN/O7dSe/DUdP7+WNRqEn
|
||||||
a+xdo1FcoDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMi5t
|
3gieVINloDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMi5t
|
||||||
b3gyLmV4YW1wbGUwCgYIKoZIzj0EAwIDSQAwRgIhANm6nfTakv+oPR/0Z+BgAB7k
|
b3gyLmV4YW1wbGUwCgYIKoZIzj0EAwIDSAAwRQIgbFop/kVfFLIWtKVZEvy2YSJU
|
||||||
mt7UbguZMhkZlAw/45UVAiEAsGPIdA3zBCZMHps/7W1UN1nLWpx8OXXREDMWPumX
|
6zheYeteOTvIuwgcK+UCIQCOXHT/WxsqCUorpT08WHAvfaIgKCOz0PLTL7MtdJED
|
||||||
Je8=
|
rQ==
|
||||||
-----END CERTIFICATE REQUEST-----
|
-----END CERTIFICATE REQUEST-----
|
||||||
|
|
20
testdata/integration/tls/moxmail2.pem
vendored
20
testdata/integration/tls/moxmail2.pem
vendored
|
@ -1,12 +1,12 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIBvzCCAWSgAwIBAgIUJllD6/XKNEF58y5UXkI8w3re+SAwCgYIKoZIzj0EAwIw
|
MIIBtTCCAVygAwIBAgIUc136y8tcpMqkiAC9g4isvHRFrgMwCgYIKoZIzj0EAwIw
|
||||||
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwHhcNMjIwNzE2MTAyMTAwWhcNMjMwNzE2
|
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwIBcNMjMwNjA0MTgzNzAwWhgPMjA1MzA1
|
||||||
MTAyMTAwWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKwVAXfCUjaV74FjX
|
MjcxODM3MDBaMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAStoJzxpG2TuS6w
|
||||||
Yg7dt1/7uizAoGd689doLTDk1BZNb1vEY7BV8KCCaTC6alltxtd1DSvG17xl3Wvs
|
FnUUr8Mw+KJxz0USO9u0dZPyUI8wBeMpZT/AbfU6S08PN/O7dSe/DUdP7+WNRqEn
|
||||||
XaNRXKOBpTCBojAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEG
|
3gieVINlo4GbMIGYMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcD
|
||||||
CCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFGYtrzw5pf2uDj4kUvlj
|
ATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBS8ILNAqiWwz+hdmGG5gJ29JZKgdDAf
|
||||||
yPtdl6FMMB8GA1UdIwQYMBaAFFHSy/ey4Pu8XBBkbLSts2+qsjT7MCMGA1UdEQEB
|
BgNVHSMEGDAWgBTthiEtWjODbRUvmvg6zHJo1oimATAjBgNVHREBAf8EGTAXghVt
|
||||||
/wQZMBeCFW1veG1haWwyLm1veDIuZXhhbXBsZTAKBggqhkjOPQQDAgNJADBGAiEA
|
b3htYWlsMi5tb3gyLmV4YW1wbGUwCgYIKoZIzj0EAwIDRwAwRAIgSCdO0boA280B
|
||||||
7YsZE1oe1/p8PslI2pfs9QltAZfyGoYOKO37Lubu1/0CIQDiZ9StnIXkpGLubUlR
|
fOGKeWl8+TAA/Lx7HJSza0fmO33ndWgCIGyw+LOgYchONeCGfG0YLz5y2v2J5hme
|
||||||
jYFYIyygmAVYZSAS1MLvr5u6Tw==
|
31FhVsoqAcq4
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
6
testdata/integration/tls/moxmail3-key.pem
vendored
6
testdata/integration/tls/moxmail3-key.pem
vendored
|
@ -1,5 +1,5 @@
|
||||||
-----BEGIN EC PRIVATE KEY-----
|
-----BEGIN EC PRIVATE KEY-----
|
||||||
MHcCAQEEILnvFp9ddZFt6gOxamZuyZqn6BiWlYIjJMxv2aIQrVEJoAoGCCqGSM49
|
MHcCAQEEIEO5gTEH/gvyLz3Gjck5bjeno8Lt7agmk15u2Jv0Pd1xoAoGCCqGSM49
|
||||||
AwEHoUQDQgAEFvGEz2ldoB343IbseoOGsnjrq7yV3nYYcnu6L4kbk45pHCxGbGa0
|
AwEHoUQDQgAEI1hS7Pkx6LJwkTGQ2pPME3J4F1IsyuWM9rrFzWoziBxof4rhqxhU
|
||||||
vR1vtWojURukkpG7gPR3HsSpyVv6ZHolow==
|
EkDjDMqJSEj+f/0W6IUSmkou1khyAOu7Og==
|
||||||
-----END EC PRIVATE KEY-----
|
-----END EC PRIVATE KEY-----
|
||||||
|
|
12
testdata/integration/tls/moxmail3.csr
vendored
12
testdata/integration/tls/moxmail3.csr
vendored
|
@ -1,8 +1,8 @@
|
||||||
-----BEGIN CERTIFICATE REQUEST-----
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
MIHuMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQW8YTPaV2gHfjc
|
MIHvMIGVAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQjWFLs+THosnCR
|
||||||
hux6g4ayeOurvJXedhhye7oviRuTjmkcLEZsZrS9HW+1aiNRG6SSkbuA9HcexKnJ
|
MZDak8wTcngXUizK5Yz2usXNajOIHGh/iuGrGFQSQOMMyolISP5//RbohRKaSi7W
|
||||||
W/pkeiWjoDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMy5t
|
SHIA67s6oDMwMQYJKoZIhvcNAQkOMSQwIjAgBgNVHREEGTAXghVtb3htYWlsMy5t
|
||||||
b3gzLmV4YW1wbGUwCgYIKoZIzj0EAwIDSAAwRQIgE/PSrIEJDKX7de96b4K0Vk4p
|
b3gzLmV4YW1wbGUwCgYIKoZIzj0EAwIDSQAwRgIhALYlavlUXSDyql3djjXmkivJ
|
||||||
pvrHf6X50EUnjf6y2hYCIQDEr7Im+mpap4OcXTUVV8j3IUpJhw3UqzEXNzC0xk5+
|
vP2o6/UYvycCD5Zs41LyAiEA5Dl/BUou/9mdQZ1wtO7dECV2og3LFqbux9HH5hhq
|
||||||
IA==
|
CHQ=
|
||||||
-----END CERTIFICATE REQUEST-----
|
-----END CERTIFICATE REQUEST-----
|
||||||
|
|
20
testdata/integration/tls/moxmail3.pem
vendored
20
testdata/integration/tls/moxmail3.pem
vendored
|
@ -1,12 +1,12 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIBvjCCAWSgAwIBAgIUfYDKj2P7yS//08rg8YXJh0P4jXowCgYIKoZIzj0EAwIw
|
MIIBtzCCAVygAwIBAgIUYsOfXT2yt+VXzQdYJZ6xDrpduyUwCgYIKoZIzj0EAwIw
|
||||||
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwHhcNMjIwNzE2MTAyMTAwWhcNMjMwNzE2
|
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwIBcNMjMwNjA0MTgzNzAwWhgPMjA1MzA1
|
||||||
MTAyMTAwWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFvGEz2ldoB343Ibs
|
MjcxODM3MDBaMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQjWFLs+THosnCR
|
||||||
eoOGsnjrq7yV3nYYcnu6L4kbk45pHCxGbGa0vR1vtWojURukkpG7gPR3HsSpyVv6
|
MZDak8wTcngXUizK5Yz2usXNajOIHGh/iuGrGFQSQOMMyolISP5//RbohRKaSi7W
|
||||||
ZHolo6OBpTCBojAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEG
|
SHIA67s6o4GbMIGYMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcD
|
||||||
CCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFCGg1KDcMlMm6KsjuWW6
|
ATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTgWT5PO/9Hs25S2/AEIh8Kbt2Y+DAf
|
||||||
FusCLoqEMB8GA1UdIwQYMBaAFFHSy/ey4Pu8XBBkbLSts2+qsjT7MCMGA1UdEQEB
|
BgNVHSMEGDAWgBTthiEtWjODbRUvmvg6zHJo1oimATAjBgNVHREBAf8EGTAXghVt
|
||||||
/wQZMBeCFW1veG1haWwzLm1veDMuZXhhbXBsZTAKBggqhkjOPQQDAgNIADBFAiEA
|
b3htYWlsMy5tb3gzLmV4YW1wbGUwCgYIKoZIzj0EAwIDSQAwRgIhAN4LwY0/jkr7
|
||||||
6BDw+F8j74ly6FJEtzcHuphuKbVTUCz+QlX00QnyhgICICFy3luHpEPDkXAgaWwz
|
Q9kCV2EeTgvja2XKu6kwdptBGacRRezdAiEAtmjbVuUk6OgF40a2IgJD1tbRRF55
|
||||||
ZYUcDL4UJTAIyOv9NJ1v7Vl1
|
M4T7VRdZJTdIDHQ=
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
6
testdata/integration/tls/postfixmail-key.pem
vendored
6
testdata/integration/tls/postfixmail-key.pem
vendored
|
@ -1,5 +1,5 @@
|
||||||
-----BEGIN EC PRIVATE KEY-----
|
-----BEGIN EC PRIVATE KEY-----
|
||||||
MHcCAQEEIBeCaoSdSuIBd7W9Xy57nO73JUxBe5b5a/XFwKl8CAGKoAoGCCqGSM49
|
MHcCAQEEIJo/6dn+2V2ffJgRScOIX6waHFPNUaDOCR05BW0vHeDsoAoGCCqGSM49
|
||||||
AwEHoUQDQgAEoqNvotlvH19KiTPxW20F8cptN9JygjLfiTTdHW99dmGYNXLHo5BU
|
AwEHoUQDQgAEw4QmYTaA5csyzcmJ2V/40xGkJ7woQxxmIyU5OzpYRCz4ejcVQPrg
|
||||||
V5qJHYfJFZKSAlDnaCmsnKp3PoZOwpYEqA==
|
4/3LS3Tr1SoUJXr/a8NoduQDOX/KvkAadg==
|
||||||
-----END EC PRIVATE KEY-----
|
-----END EC PRIVATE KEY-----
|
||||||
|
|
12
testdata/integration/tls/postfixmail.csr
vendored
12
testdata/integration/tls/postfixmail.csr
vendored
|
@ -1,8 +1,8 @@
|
||||||
-----BEGIN CERTIFICATE REQUEST-----
|
-----BEGIN CERTIFICATE REQUEST-----
|
||||||
MIHzMIGbAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASio2+i2W8fX0qJ
|
MIHzMIGbAgEAMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATDhCZhNoDlyzLN
|
||||||
M/FbbQXxym030nKCMt+JNN0db312YZg1csejkFRXmokdh8kVkpICUOdoKaycqnc+
|
yYnZX/jTEaQnvChDHGYjJTk7OlhELPh6NxVA+uDj/ctLdOvVKhQlev9rw2h25AM5
|
||||||
hk7ClgSooDkwNwYJKoZIhvcNAQkOMSowKDAmBgNVHREEHzAdghtwb3N0Zml4bWFp
|
f8q+QBp2oDkwNwYJKoZIhvcNAQkOMSowKDAmBgNVHREEHzAdghtwb3N0Zml4bWFp
|
||||||
bC5wb3N0Zml4LmV4YW1wbGUwCgYIKoZIzj0EAwIDRwAwRAIgEWB2wVEam2qq/cwZ
|
bC5wb3N0Zml4LmV4YW1wbGUwCgYIKoZIzj0EAwIDRwAwRAIgEHqFqWnzkb+AuQSy
|
||||||
JL35+Wg/cL15aA+WQW86kaA8D5MCIFxH3MfVMnPtueIHe7YKvPLT+yA5Svm5UbKq
|
g5WbGDmWV0PC3cn3ZrhnKph+JRYCICHIOwP30IrU2vZlRw7hSJfF73Kp97bZnKnx
|
||||||
QGSLk4O1
|
hKFU2mu2
|
||||||
-----END CERTIFICATE REQUEST-----
|
-----END CERTIFICATE REQUEST-----
|
||||||
|
|
20
testdata/integration/tls/postfixmail.pem
vendored
20
testdata/integration/tls/postfixmail.pem
vendored
|
@ -1,12 +1,12 @@
|
||||||
-----BEGIN CERTIFICATE-----
|
-----BEGIN CERTIFICATE-----
|
||||||
MIIBxTCCAWqgAwIBAgIUYoJspZbvWHZRn9O5nxAL3iT+UvgwCgYIKoZIzj0EAwIw
|
MIIBvDCCAWKgAwIBAgIUenc5veQllvPUqrUPTtB8eFtJvHkwCgYIKoZIzj0EAwIw
|
||||||
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwHhcNMjIwNzE2MTAyMTAwWhcNMjMwNzE2
|
FjEUMBIGA1UEAxMLbW94IHRlc3QgY2EwIBcNMjMwNjA0MTgzNzAwWhgPMjA1MzA1
|
||||||
MTAyMTAwWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoqNvotlvH19KiTPx
|
MjcxODM3MDBaMAAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATDhCZhNoDlyzLN
|
||||||
W20F8cptN9JygjLfiTTdHW99dmGYNXLHo5BUV5qJHYfJFZKSAlDnaCmsnKp3PoZO
|
yYnZX/jTEaQnvChDHGYjJTk7OlhELPh6NxVA+uDj/ctLdOvVKhQlev9rw2h25AM5
|
||||||
wpYEqKOBqzCBqDAOBgNVHQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEG
|
f8q+QBp2o4GhMIGeMA4GA1UdDwEB/wQEAwIFoDATBgNVHSUEDDAKBggrBgEFBQcD
|
||||||
CCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFIE2NgvzsLPl6qP5gtIE
|
ATAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRvX8dsWXBuohuUI6tMLaGRKG6j6jAf
|
||||||
mBSFgE8hMB8GA1UdIwQYMBaAFFHSy/ey4Pu8XBBkbLSts2+qsjT7MCkGA1UdEQEB
|
BgNVHSMEGDAWgBTthiEtWjODbRUvmvg6zHJo1oimATApBgNVHREBAf8EHzAdghtw
|
||||||
/wQfMB2CG3Bvc3RmaXhtYWlsLnBvc3RmaXguZXhhbXBsZTAKBggqhkjOPQQDAgNJ
|
b3N0Zml4bWFpbC5wb3N0Zml4LmV4YW1wbGUwCgYIKoZIzj0EAwIDSAAwRQIgdqqP
|
||||||
ADBGAiEAy0Tem3hHoBB2Ypms9Zkvzk+8NBfezcAqub0uuhazHmkCIQC5XToV12Vd
|
rKV8yZ+XjDDzj9qp9VNZRqDRfVfYJoMY7c0qx1ECIQCMVEKWwyR0s7dsy7CAibBm
|
||||||
llBpYGmEg8YGybJxveT+pgGRcTYOJv0v/Q==
|
oaIOieBYkklXb1cnraoZsg==
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
10
testdata/integration/tls/readme.txt
vendored
10
testdata/integration/tls/readme.txt
vendored
|
@ -1,12 +1,2 @@
|
||||||
For TLS, keys are generated using https://github.com/cloudflare/cfssl
|
For TLS, keys are generated using https://github.com/cloudflare/cfssl
|
||||||
These private keys are published online, don't use them for anything other than local testing.
|
These private keys are published online, don't use them for anything other than local testing.
|
||||||
|
|
||||||
Commands:
|
|
||||||
|
|
||||||
# Generate CA
|
|
||||||
cfssl genkey -initca cfssl-ca-csr.json | cfssljson -bare ca
|
|
||||||
|
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail1.mox1.example - | cfssljson -bare moxmail1
|
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail2.mox2.example - | cfssljson -bare moxmail2
|
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname moxmail3.mox3.example - | cfssljson -bare moxmail3
|
|
||||||
echo '{}' | cfssl gencert -ca ca.pem -ca-key ca-key.pem -hostname postfixmail.postfix.example - | cfssljson -bare postfixmail
|
|
||||||
|
|
Loading…
Reference in a new issue