mirror of
https://github.com/zadam/trilium.git
synced 2024-12-25 00:34:08 +08:00
updated generate-cert script, #835
This commit is contained in:
parent
c63bb7ce8a
commit
d103b16d9a
1 changed files with 1 additions and 2 deletions
|
@ -12,5 +12,4 @@ fi
|
||||||
mkdir -p "$DIR"
|
mkdir -p "$DIR"
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
|
|
||||||
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 2000 -nodes
|
openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out cert.crt -keyout key.key
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue