# scl enable python27 "/opt/certbot/certbot-auto renew --no
-self-upgrade"
/opt/eff.org/certbot/venv/lib/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
DeprecationWarning
# scl enable python27 "python -V"
Python 2.7.13
# scl enable python27 "which python"
/opt/rh/python27/root/usr/bin/python
- certbot-auto初回起動時のbootstrapがpython26で動いていた?
-
/opt/eff.org
を一度消すと再度bootstrapが走るのでパッケージを入れ直す- 他にbootstrapを起動する方法があればそちらでもOK
# sudo rm -rf /opt/eff.org
# scl enable python27 "/opt/certbot/certbot-auto renew --no-self-upgrade"
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
.
.
(略)
.
.
-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/xxx.conf
-------------------------------------------------------------------------------
Cert not yet due for renewal
-------------------------------------------------------------------------------
The following certs are not due for renewal yet:
/etc/letsencrypt/live/xxxx/fullchain.pem (skipped)
No renewals were attempted.
-------------------------------------------------------------------------------