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

And need a quick fix to regenerate your almost expiring certificates, you can ‘force’ the installation by running the following command

yum install --setopt=obsoletes=0 python2-certbot-dns-route53

This solution is not ideal as it may bring problems when you need to run ‘yum update’ in the future, but it’s a good stopgap measure