标签归档:letsencrypt

简单5步 配置letsencrypt免费SSL

cd /root 1.下载letsencrypt配置文件和执行包 下载脚本文件 wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.conf wget https://raw.githubusercontent.com/xdtianyu/scripts/master/lets-encrypt/letsencrypt.sh 给予脚本755权限 chmod +x letsencrypt.sh 2.配置letsencrypt.conf文件 vi letsencrypt.conf # only modify the values, key files will be generated automaticly. ACCOUNT_KEY="letsencrypt-account.key" DOMAIN_KEY="javaer.com.key" DOMAIN_DIR="/www/javaer" DOMAINS="DNS:java-er.com" #ECC=TRUE #LIGHTTPD=TRUE :wq! 保存 3.执行脚本生成需要的key文件 ./letsencrypt.sh letsencrypt.conf Generate account key… … 继续阅读

发表在 Linux | 标签为 , , | 留下评论