2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-18 01:32:11 +00:00
2017-06-05 19:22:20 -07:00

7 lines
272 B
Bash
Executable File

#!/bin/bash
set -e
openssl req -new -sha256 -nodes -out ../key/ourdomain.csr -newkey rsa:2048 -keyout ../key/ourdomain.key -config ../key/ourdomain.cfg
openssl ca -batch -config myca.conf -notext -in ../key/ourdomain.csr -out ../key/ourdomain.cer
rm ../key/ourdomain.csr