LoginSignup
0
0

More than 5 years have passed since last update.

scl python27でcertbot-autoがpython 2.6 DeprecationWarning を出してくる

Posted at
# 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.
-------------------------------------------------------------------------------
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0