如何在Ubuntu-GCP计算机上安装Certbot

问题描述 投票:0回答:1

我关注this tutorial,并使用Google云实例。

一切正常,但第10部分将其更改为https。

当我运行命令sudo add-apt-repository ppa:certbot/certbot

我知道

gpg: keybox '/tmp/tmp_4tz_t5w/pubring.gpg' created
gpg: /tmp/tmp_4tz_t5w/trustdb.gpg: trustdb created
gpg: key 8C47BE8E75BCA694: public key "Launchpad PPA for certbot" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.

我是nginx和ssl的新手,我尝试了许多在google上找到的解决方案,但它们对我来说不起作用。所以如果有人有什么想法,我真的很感激:)

ubuntu apt certbot
1个回答
0
投票

似乎您在安装certbot时遇到问题。您正在使用哪个操作系统?

在较新版本的Ubuntu上,必须先安装Universe仓库和软件属性,然后才能添加PPA。也许这会有所帮助:

sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update

有关安装certbot here的更多信息

© www.soinside.com 2019 - 2024. All rights reserved.