Welcome to Centmin Mod Community
Become a Member

Installing Certbot

Discussion in 'System Administration' started by Tsikura, May 23, 2020.

  1. Tsikura

    Tsikura New Member

    8
    8
    3
    May 18, 2016
    New York
    Ratings:
    +9
    Local Time:
    10:26 AM
    1.15.6
    MariaDB 10.1.137
    So I'm trying to install certbot since the version I had previously is no good. When I try to install certbot via YUM, it wants to use EPEL. This is what I get. Is there an alternative or is it safe to do --skip-broken?

    Code:
    [07:31][root@XXXXXXX ~]# yum install certbot
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.dal.nexril.net
     * centos-sclo-rh: mirrors.usinternet.com
     * centos-sclo-sclo: mirror.dal.nexril.net
     * epel: mirror.dal.nexril.net
     * extras: mirrors.oit.uci.edu
     * rpmforge: mirror.teklinks.com
     * updates: mirror.oss.ou.edu
    329 packages excluded due to repository priority protections
    Excluding 4 updates due to versionlock (use "yum versionlock status" to show them)
    Resolving Dependencies
    --> Running transaction check
    ---> Package certbot.noarch 0:1.3.0-1.el7 will be installed
    --> Processing Dependency: python2-certbot = 1.3.0-1.el7 for package: certbot-1.3.0-1.el7.noarch
    --> Running transaction check
    ---> Package python2-certbot.noarch 0:1.3.0-1.el7 will be installed
    --> Processing Dependency: python2-acme >= 0.40.0 for package: python2-certbot-1.3.0-1.el7.noarch
    --> Running transaction check
    ---> Package python2-acme.noarch 0:1.3.0-1.el7 will be installed
    --> Processing Dependency: python-requests-toolbelt for package: python2-acme-1.3.0-1.el7.noarch
    --> Processing Dependency: python2-requests for package: python2-acme-1.3.0-1.el7.noarch
    --> Running transaction check
    ---> Package python-requests.noarch 0:2.6.0-9.el7_8 will be installed
    --> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-9.el7_8.noarch
    ---> Package python-requests-toolbelt.noarch 0:0.8.0-3.el7 will be installed
    --> Finished Dependency Resolution
    Error: Package: python-requests-2.6.0-9.el7_8.noarch (updates)
               Requires: python-urllib3 >= 1.10.2-1
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,186
    10,074
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,572
    Local Time:
    12:26 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    python-urllib3 YUM package is version locked to prevent conflict with pip installed urllib3 in Centmin Mod.

    Centmin Mod doesn't need Certbot, it uses acme.sh client within it's addons/acmetool.sh wrapper outlined at Letsencrypt - Official acmetool.sh testing thread for Centmin Mod 123.09beta01. Example of using acme.sh client for SSL certificate issuance with Nginx vhost creation routines at Install - Quick Centmin Mod Install + Nginx Vhost Site + MySQL Database Setup and even for Wordpress site setup at https://servermanager.guide/122/how-to-install-wordpress-on-centmin-mod-lemp-stack-guide/.

    You wouldn't want Certbot to mix with Centmin Mod's acme.sh for Nginx HTTPS site's SSL certificate issuance :)

    What do you require Certbot for ?
     
  3. Tsikura

    Tsikura New Member

    8
    8
    3
    May 18, 2016
    New York
    Ratings:
    +9
    Local Time:
    10:26 AM
    1.15.6
    MariaDB 10.1.137
    I had certbot setup before letsencrypt was an option included with adding a vhost domain. I've yet to use acme.sh though. I'll take a look at that.