likes
comments
collection
share

nodejs快速生成ca证书和ssl证书

作者站长头像
站长
· 阅读数 55
npm install mkcert -g

mkcert create-ca --organization "ShanYou CA"   --country-code "CN" --state ="HeBei" --locality "BaoDing" --validity 36500 --key ca.key --cert ca.crt

mkcert create-cert --validity "3650" --key "server.key" --cert "server.crt"