https in web demo
This commit is contained in:
parent
b6ec69fdca
commit
1102d9f186
@ -1,4 +1,9 @@
|
||||
ALL += build/index.html
|
||||
ALL += build/index.html build/cert.pem build/key.pem
|
||||
|
||||
build/index.html: src/index.html | build
|
||||
cp $^ $@
|
||||
|
||||
build/key.pem: build/cert.pem
|
||||
|
||||
build/cert.pem: | build
|
||||
yes "" | openssl req -x509 -newkey rsa:2048 -keyout build/key.pem -out build/cert.pem -days 365 -nodes 2>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user