3 lines
157 B
Bash
Executable file
3 lines
157 B
Bash
Executable file
#!/bin/bash
|
|
[[ ! -f cert.pem ]] && openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem
|
|
http-server -c-1 -S -C cert.pem .
|