mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
8 lines
280 B
Bash
8 lines
280 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Generate self-signed certificate (only meant for testing don't use in production...)
|
||
|
# requires openssl be installed and in the $PATH
|
||
|
|
||
|
openssl genrsa -out localhost.key 2048
|
||
|
openssl req -new -x509 -key localhost.key -out localhost.cert -days 3650 -subj /CN=localhost
|