mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 08:54:35 +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:
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
|
||||
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
|
||||
|
Reference in New Issue
Block a user