ssl - 如何让 Certbot 禁用某个密码

标签 ssl nginx 3des pci-dss certbot

我正在使用 Let'sEncrypt 的证书。为了与 PCI DSS 标准保持兼容,我在 nginx 的 conf 文件中禁用了对三重 DES (3DES) 密码的支持。但 Certbot 随后指出,如果我手动更改 conf 文件,它不会自动执行证书更新过程。更糟糕的是,certbot 的文档没有提到另一种方法来禁用某些密码保持自动化。

有解决办法吗?也许我可以有一个额外的 nginx 行来覆盖 certbot 的设置?还是我遗漏了什么?

这是我的 nginx.conf 和其他 conf 文件的要点:https://gist.github.com/bluedeck/7a3a8614fe1cc86c1247b8f303ebcdd3

最佳答案

这可能不是最好的方法,但这就是我更新证书的方式。

#!/bin/bash
service nginx stop
certbot certonly --standalone --preferred-challenges http -d mysite.com
service nginx start

并将其添加到您的 crontab 中。

关于ssl - 如何让 Certbot 禁用某个密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48464162/

相关文章:

java - iPhone 应用程序中的 3DES 加密总是产生与 Java 中的 3DES 加密不同的结果

php - League\OAuth2\Client\Provider\GenericProvider SSL 错误

ssl - javax.net.ssl.SSLHandshakeException : java. security.cert.CertificateException:不存在主题替代名称

security - Asterisk 上的 SRTP

java - 如何在 tomcat Web 应用程序中重新加载 Nginx

java - 3DES 解密错误无效 key 长度

c# - C# 和 PHP 上的三重 DES 加密产生不同的结果

ssl - puppet : Did not receive certificate

ssl - 告诉 nginx 静默忽略丢失的文件

php - 在 nginx ubuntu 中设置 laravel 时出现给定错误的可能原因是什么?