gRPC-haskell/core/tests/ssl/generate-cert.sh
2018-01-29 08:59:34 -08:00

4 lines
159 B
Bash
Executable File

#!/usr/bin/env bash
openssl req -newkey rsa:2048 -nodes -x509 -days 36500 -keyout localhost.key -out localhost.crt
openssl x509 -in localhost.crt -text -noout