zer.ooo-web/bin/sign-client-csr
Corne Oppelaar 6cf8f4c8ca [wip]
2016-04-05 02:19:21 +02:00

6 lines
228 B
Bash
Executable file

#!/usr/bin/env bash
DIR=$(dirname $(realpath $0));
CSR=$(realpath $1);
CRT=$(realpath $2);
cd $DIR/../;
openssl ca -in $CSR -out $CRT -config $DIR/../etc/openssl.conf -md sha256 -days 3650 -extensions client_ext -batch -notext;