我一直在关注几个教程将 ssl 添加到我的服务器(节点应用程序)。
我尝试在 Ubuntu 20.04 服务器上使用以下行安装 Certbot:
sudo add-apt-repository ppa:certbot/certbot
Run Code Online (Sandbox Code Playgroud)
但收到警告并且没有安装:
This is the PPA for packages prepared by Debian Let's Encrypt Team and backported for Ubuntu.
Note: Packages are only provided for currently supported Ubuntu releases.
More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot
Press [ENTER] to continue or Ctrl-c to cancel adding it.*
Run Code Online (Sandbox Code Playgroud)
在网上搜索后,提到不使用 PPA,而是使用早期的独立版本 - 也提到使用 snap - 但我找不到具体的答案。我使用的是 Express 而不是 nginX。
有人可以建议如何安装吗?
冉sudo snap install certbot。
结果:
error: This revision of snap "certbot" was published using classic …Run Code Online (Sandbox Code Playgroud)