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