计划任务,续签Let's Encrypt证书,- ----------------------------------------------------------------------------
- /usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
- from cryptography import x509
- |-本次跳过域名:[url略'],因连续3次续签失败,不再续签此证书
- |-没有找到30天内到期的SSL证书!
复制代码
脚本内容- /usr/bin/python /www/server/panel/class/acme_v2.py --renew=1
复制代码
看acme_v2.py文件似乎没问题- # 是否到了最大重试次数
- if 'retry_count' in self._config['orders'][i]:
- if self._config['orders'][i]['retry_count'] >= 3:
- write_log('|-本次跳过域名:{},因连续3次续签失败,不再续签此证书'.format(self._config['orders'][i]['domains']))
- continue
复制代码
|
|