I am following this guide on how to Configure SSL/TLS on Amazon Linux 2023. It recommends to obtain a CA-signed certificate using Certbot. And to get Certbot, it's recommended to install Snap.
I have tried several things, not able to install any of prerequisites:
sudo yum install snapd
Error: Unable to find a match: snapd
sudo amazon-linux-extras install epel
sudo: amazon-linux-extras: command not found
sudo yum install -y amazon-linux-extras
Error: Unable to find a match: amazon-linux-extras
Run Code Online (Sandbox Code Playgroud) 我安装了 certbot 并成功使用它来加密我的主页。
现在我尝试使用 dovecot 和 postfix 为我的网站设置电子邮件系统。
我大部分时间都在运行,唯一的问题是,thunderbird 向我发出有关地址欺诈的警告,因为我将 mysite.com 的 ssl 密钥用于 imap.mysite.com(与 smtp 相同)那么我如何添加 imap.mysite使用 certbot 将 .com 和 smtp.mysite.com 转换为现有的 mysite.com 证书以避免警告?
我按照 certbot.eff.org 上的说明安装了 python-certbot-apache 包,但找不到它应该设置的 cron 作业的任何条目。
您系统上的 Certbot 软件包带有一个 cron 作业,它会在您的证书到期之前自动更新您的证书。由于 Let's Encrypt 证书的有效期为 90 天,因此强烈建议您利用此功能。 来自:https : //certbot.eff.org/#debianjessie-apache
我在哪里可以找到这个 cron 工作?我试过'crontab -l',有和没有sudo,但没有运气。
我了解如何运行 cron 作业来更新证书;我的问题是:这个包安装的 cron 作业在哪里?安装了吗
我同时启用了 80 和 443。
sudo certbot certonly --standalone --agree-tos --no-eff-email --staple-ocsp --preferred-challenges http -m **@**.com -d mycomp.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for mycomp.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Could not bind TCP port 80 because it is already in use by …
Run Code Online (Sandbox Code Playgroud) certbot ×4
amazon-linux ×1
cron ×1
debian ×1
dovecot ×1
letsencrypt ×1
postfix ×1
snap ×1
ssl ×1
ubuntu ×1