Vervis/create-self-cert.sh

6 lines
130 B
Bash
Raw Permalink Normal View History

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