web/bin/sign-server-csr
Corne Oppelaar 81875e455e [wip]
2016-06-02 02:02:14 +02:00

6 lines
No EOL
227 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 server_ext -batch -notext;