手动更新让我们加密SSL证书 [英] Renew manually Let's Encrypt SSL certificate

查看:104
本文介绍了手动更新让我们加密SSL证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的加密SSL证书将在0天后过期(尚未)...

My Let's Encrypt SSL certificate will expire in 0 day (not yet)...

我将其用于nginx&中的网站DigitalOcean中的ubuntu 14.04服务器.

I use it for a website in nginx & a ubuntu 14.04 server in DigitalOcean.

我在服务器块中找到了一个文件夹/etc/letsencrypt/

I have found a folder /etc/letsencrypt/, and in the server block:

ssl_certificate /etc/letsencrypt/live/mysite.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mysite.com/privkey.pem;

但是,我找不到例如letsencrypt-auto

有人知道如何手动续订吗?

Does anyone know how to manually renew it?

推荐答案

实际上,我不记得我是如何第一次生成SSL证书的.要进行更新,请遵循此线程,我首先安装了cerbot:

Actually, I don't remember how I generated the SSL certificate for the first time. To renew it, by following this thread, I first installed cerbot:

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot

然后,我需要确保该路径中的设置和设置正确无误,如线程中所述.然后我做到了

Then, I need to make sure the path and setting are correct as described in the thread. Then I did

sudo certbot renew

就是这样.

这篇关于手动更新让我们加密SSL证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆