fixed the command to generate tls files
This commit is contained in:
parent
e1c288f17f
commit
be864129dc
4
Makefile
4
Makefile
@ -82,10 +82,10 @@ xterm.css:
|
|||||||
sed -r -i 's|^/\*# sourceMappingURL=/.+ \*/$$||g' "$@"
|
sed -r -i 's|^/\*# sourceMappingURL=/.+ \*/$$||g' "$@"
|
||||||
|
|
||||||
cmd/tls.crt:
|
cmd/tls.crt:
|
||||||
openssl req -x509 -newkey rsa:4096 -keyout cmd/tls.key -out cmd/tls.crt -sha256 -days 36500 -nodes -subj "/CN=$(NAME)" --addext "subjectAltName=DNS:$(NAME),IP:10.0.0.1,IP:::1"
|
openssl req -x509 -newkey rsa:4096 -keyout cmd/tls.key -out cmd/tls.crt -sha256 -days 36500 -nodes -subj "/CN=$(NAME)" --addext "subjectAltName=DNS:$(NAME),IP:127.0.0.1,IP:::1"
|
||||||
|
|
||||||
cmd/tls.key:
|
cmd/tls.key:
|
||||||
openssl req -x509 -newkey rsa:4096 -keyout cmd/tls.key -out cmd/tls.crt -sha256 -days 36500 -nodes -subj "/CN=$(NAME)" --addext "subjectAltName=DNS:$(NAME),IP:10.0.0.1,IP:::1"
|
openssl req -x509 -newkey rsa:4096 -keyout cmd/tls.key -out cmd/tls.crt -sha256 -days 36500 -nodes -subj "/CN=$(NAME)" --addext "subjectAltName=DNS:$(NAME),IP:127.0.0.1,IP:::1"
|
||||||
|
|
||||||
cmd/rsa.key:
|
cmd/rsa.key:
|
||||||
openssl genrsa -traditional -out cmd/rsa.key 2048
|
openssl genrsa -traditional -out cmd/rsa.key 2048
|
||||||
|
Loading…
x
Reference in New Issue
Block a user