command exec failed:/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:14: 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 the next release.
from cryptography import utils, x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Found credentials in environment variables.
Plugins selected: Authenticator dns-route53, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
You've asked to renew/replace a seemingly valid certificate with a test certificate (domains: 333.jiaxuan.test.cert-test.shopee.systems, *.333.jiaxuan.live-test.cert-test.shopee.systems, *.333.jiaxuan.staging.cert-test.shopee.systems, *.333.jiaxuan.test-stable.cert-test.shopee.systems, *.333.jiaxuan.test.cert-test.shopee.systems, *.333.jiaxuan.uat.cert-test.shopee.systems, 333.jiaxuan.live-test.cert-test.shopee.systems, 333.jiaxuan.staging.cert-test.shopee.systems, 333.jiaxuan.test-stable.cert-test.shopee.systems, 333.jiaxuan.uat.cert-test.shopee.systems). We will not do that unless you use the --break-my-certs flag!
def _avoid_invalidating_lineage(config: configuration.NamespaceConfig,
lineage: storage.RenewableCert, original_server: str) -> None:
"""Do not renew a valid cert with one from a staging server!"""
if util.is_staging(config.server):
if not util.is_staging(original_server):
if not config.break_my_certs:
names = ", ".join(lineage.names())
raise errors.Error(
"You've asked to renew/replace a seemingly valid certificate with "
f"a test certificate (domains: {names}). We will not do that "
"unless you use the --break-my-certs flag!")
it looks like It think last server was prod? but I don't see your domain on crt.sh so it may be bug determine your old linage was staging or prod
No, "of course" not. But it's rather a catch 22: if you think you've found a bug, you'd need to make sure it's also present in the most recent versions and not already fixed. But if you can't upgrade, you can't test that. So you're stuck.
Python 2.7 doesn't get security upgrades since 2020 any longer, so there's absolutely no reason to continu using it. Any legacy software requiring Python 2.7 should either be ported, upgraded or discarded IMO.