enabled batch key generation
This commit is contained in:
8
ssl/create-key
Normal file
8
ssl/create-key
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
echo creating keys for $1
|
||||
# create kopano clients ssl key pair (for authentification)
|
||||
# private key for client, public key for server sslkeys
|
||||
export CN=$1
|
||||
export SAN=DNS:$CN
|
||||
openssl req -new -out tmp/$CN.csr -nodes -keyout certs/$CN.key
|
||||
openssl ca -batch -in tmp/$CN.csr -passin env:CA_PWD -out certs/$CN.crt -extensions server_ext
|
||||
Reference in New Issue
Block a user