手动申请安装Let's Encrypt免费SSL/TLS证书相关命令小结
本次成功实践操作系统,DigitalOcean上的debian9.7系统 安装常用软件包 curl $apt-get update -y && apt-get install curl -y sudo $apt-get install sudo 安装socat $sudo apt-get install socat 安装curl $ curl https://get.acme.sh | sh 安装成功后执行 $source ~/.bashrc 以确保脚本所设置的命令别名生效。 建立证书目录 $mkdir /etc/v2ray/ 生成ECC证书: $sudo ~/.acme.sh/acme.sh --issue -d china007.tk --standalone -k ec-256 将ECC证书和密钥安装到 /etc/v2ray 中 $sudo ~/.acme.sh/acme.sh --installcert -d china007.tk --fullchainpath /etc/v2ray/v2ray.crt --keypath /etc/v2ray/v2ray.key --ecc 证书位置/etc/v2ray/v2ray.crt 密钥位置/etc/v2ray/v2ray.key 参考网址 https://toutyrater.github.io/advanced/tls.html https://github.com/Neilpang/acme.sh