update
This commit is contained in:
parent
a3ffd7b3fa
commit
962800b786
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_dir="$(dirname "$(realpath "$0")")" # 当前脚本所在目录的绝对路径
|
||||
key_dir="$script_dir/../key"
|
||||
key_dir=$(readlink -f "$script_dir/../key") # key目录绝对路径
|
||||
|
||||
openssl req -x509 -nodes -newkey ec:<(openssl ecparam -name prime256v1) -keyout "$key_dir/server.key" -out "$key_dir/server.crt" -subj "/CN=bing.com" -days 36500
|
||||
Loading…
Reference in New Issue
Block a user