Vervis/create-self-cert.sh

5 lines
130 B
Bash
Executable file

#!/bin/sh
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout nginx-selfsigned.key \
-out nginx-selfsigned.crt