【文件属性】:
文件名称:server-https:具有有效证书的服务器
文件大小:8KB
文件格式:ZIP
更新时间:2021-04-16 10:45:52
JavaScript
SSL,TLS和SSH概念
您需要三件非常重要的事情
认证实体它是企业中唯一生成有效和免费证书的证书。
必须有一个域在这里,您必须花钱,这是我尚未发现的唯一免费媒介
验证证书的第三方将验证证书的实体
开始工作
我们需要一个ACME客户我选择了Certbot,您可以选择自己喜欢的一种。
安装Certbot
Linux
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot
苹果电脑
brew install certbot
视窗
Só baixa o executável depois next next...
完成安装certbot之后,在终端上运行命令
certbot certonly --standalone
注意:端口80必须是空闲的,因此如果
【文件预览】:
server-https-master
----index.js(791B)
----package.json(262B)
----.gitignore(12B)
----README.md(2KB)
----yarn.lock(14KB)