gRPC-haskell/core/tests/ssl/generate-cert.sh
2018-01-11 13:44:58 -05:00

3 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