certbot centos 7 route53 dns verification error

If you recently started to receive the following error while trying to renew your certificates

An unexpected error occurred:
ImportError: cannot import name PROTOCOL_TLS

the simplest fix is to downgrade your python-s3transfer package to version ‘python-s3transfer.noarch 0:0.1.13-1.el7.0.1’

yum downgrade python-s3transfer.noarch

Install python2-certbot-dns-route53 centos 7

If you’ve been bitten by the following bug during the installation of the certbot DNS auth plugin for route53.

---> Package python2-boto3.noarch 0:1.4.6-1.el7 will be installed
--> Processing Dependency: python2-s3transfer >= 0.1.10 for package: python2-boto3-1.4.6-1.el7.noarch
Package python2-s3transfer is obsoleted by python-s3transfer, but obsoleting package does not provide for requirements
--> Finished Dependency Resolution
Error: Package: python2-boto3-1.4.6-1.el7.noarch (epel)
           Requires: python2-s3transfer >= 0.1.10
           Available: python2-s3transfer-0.1.10-1.el7.noarch (epel)
               python2-s3transfer = 0.1.10-1.el7

Continue reading “Install python2-certbot-dns-route53 centos 7”