You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
227 B
Bash

#!/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;