全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4020|回复: 14

[Windows VPS] letsencrypt公测了,谁发个完整版的教程?

[复制链接]
发表于 2015-12-4 09:43:37 | 显示全部楼层 |阅读模式
发表于 2015-12-5 21:19:39 | 显示全部楼层
安装python 2.7 + (建议centos 7 默认就python2.75)
安装git
安装客户端
git clone https://github.com/letsencrypt/letsencrypt
获取证书命令:
cd letsencrypt
./letsencrypt-auto certonly --server https://acme-v01.api.letsencrypt.org/directory --agree-dev-preview
执行命令会会出现蓝色的UI界面,第一步输入 邮箱 回车确认,第二 统一协议之类的,第三输入域名 回车
不支持通配符,默认 带www

申请成功的话会在/etc/letsencrypt/live/根域名/ 目录下生成4个pem文件。fullchain1.pem就是配置https站点需要使用的crt文件,privkey1.pem就是key文件。

评分

参与人数 1威望 +20 收起 理由
欧阳逍遥 + 20 神马都是浮云

查看全部评分

发表于 2015-12-4 09:45:59 | 显示全部楼层
你去折腾, 然后写个,造福大家.
 楼主| 发表于 2015-12-5 21:10:58 | 显示全部楼层
wzlm123 发表于 2015-12-4 09:45
你去折腾, 然后写个,造福大家.

技术不到家,论坛的大神给指导下吧!
发表于 2015-12-5 21:47:22 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2015-12-5 21:55:14 | 显示全部楼层
https://github.com/letsencrypt/letsencrypt Github的Readme 写的很清楚了啊
 楼主| 发表于 2015-12-5 22:24:22 | 显示全部楼层
lolidc 发表于 2015-12-5 21:55
https://github.com/letsencrypt/letsencrypt Github的Readme 写的很清楚了啊

Centos 6 按照教程不行啊
发表于 2015-12-6 01:05:26 | 显示全部楼层
本帖最后由 395183830 于 2015-12-6 01:12 编辑

yum install gcc zlib zlib-devel openssl openssl-devel
wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
tar zxvf Python-2.7.3.tgz
cd Python-2.7.3
./configure
make && make install

/usr/bin/yum文件中的第一行#!/usr/bin/python修改为#!/usr/bin/python2.6

yum -y install git
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto certonly --server https://acme-v01.api.letsencrypt.org/directory --agree-dev-preview

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-26 08:54 , Processed in 0.121286 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表