Skip to main content

Let's encrypt won't be enabled on WHM

Comments

11 comments

  • cPRex Jurassic Moderator

    Hey there!  Can you try performing this work from the WHM >> Manage AutoSSL page by selecting your provider there?  Let's Encrypt is now the default provider, so it may not need to be installed.

    If that isn't the case on your system please let me know your cPanel version so I can do some additional testing.  It's also never a bad idea to check the cPanel error log at /usr/local/cpanel/logs/error_log for more details.

    0
  • Samuel Hosseini

    Thanks, cPanel version: 

    cPanel & WHM v102.0.8 (STANDARD)

    The only provider that I have is cPanel (powered by Sectigo).  

    I treid the command line & it gives me this : 

    root@gondor:~# /usr/local/cpanel/logs/error_log
    bash: /usr/local/cpanel/logs/error_log: Permission denied
    root@gondor:~#

    0
  • cPRex Jurassic Moderator

    You would have to open the log with a text editor.

    Let's Encrypt wasn't released until version 108, so you wouldn't be able to implement that fully in version 102.  Is there a reason you're using such an old version?

    0
  • Samuel Hosseini

    Well, I am on Microsoft Azure and subscribed thourgh a partner on Microsoft Azure marketplace. That's why. Also, I tried to upgrade the cPanel but I got this: 

    FATAL Cannot upgrade to 11.102.0.36 until needed system packages are installed.
     
    0
  • cPRex Jurassic Moderator

    Try running "yum update" on the system to take care of that.  If there are other issues with Yum on the machine they will show up with that command.

    0
  • Samuel Hosseini

    Result: 

    root@gondor:~# yum update

    Command 'yum' not found, did you mean:

      command 'gum' from snap gum (0.13.0)
      command 'uum' from deb freewnn-jserver (1.1.1~a021+cvs20130302-7build1)
      command 'sum' from deb coreutils (8.30-3ubuntu2)
      command 'num' from deb quickcal (2.4-1)
      command 'zum' from deb perforate (1.2-5.1)

    See 'snap info <snapname>' for additional versions.

    root@gondor:~# sudo root@gondor:~# yum update
    sudo: root@gondor:~#: command not found
    root@gondor:~#
    root@gondor:~# Command 'yum' not found, did you mean:
    Command: command not found
    root@gondor:~#
    root@gondor:~#   command 'gum' from snap gum (0.13.0)
    bash: syntax error near unexpected token `('
    root@gondor:~#   command 'uum' from deb freewnn-jserver (1.1.1~a021+cvs20130302-7build1)
    bash: syntax error near unexpected token `('
    root@gondor:~#   command 'sum' from deb coreutils (8.30-3ubuntu2)
    bash: syntax error near unexpected token `('
    root@gondor:~#   command 'num' from deb quickcal (2.4-1)
    bash: syntax error near unexpected token `('
    root@gondor:~#   command 'zum' from deb perforate (1.2-5.1)
    bash: syntax error near unexpected token `('
    root@gondor:~#
    root@gondor:~# See 'snap info <snapname>' for additional versions.

    0
  • cPRex Jurassic Moderator

    Oh, you're using Ubuntu, so Yum won't work :D. Try this:

    apt-get update
    apt-get upgrade

     

    0
  • Samuel Hosseini

    Thanks , result: 

    root@gondor:~# apt-get update
    Get:1 http://repo.mysql.com/apt/ubuntu focal InRelease [12.8 kB]
    Hit:2 http://azure.archive.ubuntu.com/ubuntu focal InRelease
    Hit:3 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease
    Hit:4 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease
    Hit:5 http://azure.archive.ubuntu.com/ubuntu focal-security InRelease
    Get:6 https://wp-toolkit.plesk.com/cPanel/wp-toolkit-deb ./ InRelease [817 B]
    Get:7 https://wp-toolkit.plesk.com/cPanel/dist-deb-Ubuntu-20.04-x86_64 ./ InRelease [826 B]
    Err:1 http://repo.mysql.com/apt/ubuntu focal InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
    Get:8 http://httpupdate.cpanel.net/ea4-u20-mirrorlist Mirrorlist
    Get:10 http://httpupdate.cpanel.net/cpanel-plugins-u20-mirrorlist Mirrorlist
    Hit:9 http://103.48.119.120/cpanelsync/repos/Ubuntu/20/EA4 ./ InRelease
    Hit:11 http://31.22.112.31/cpanelsync/repos/Ubuntu/20/cpanel-plugins ./ InRelease
    Fetched 17.8 kB in 1s (15.6 kB/s)
    Reading package lists... Done
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
    W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/focal/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@gondor:~# apt-get upgrade
    E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
    root@gondor:~#

    0
  • cPRex Jurassic Moderator

    There you go - the OS itself has an issue and that's why the updates aren't working.  Can you try running that dpkg command from the output to see if that helps?  If not, you'll need to contact the hosting provider because this is a deeper issue than the cPanel tools.

    0
  • Samuel Hosseini

    I did it, upgraded everything and installed Let's encrypt on whm. Thanks Rex :) 

    0
  • cPRex Jurassic Moderator

    Awesome - I'm glad that took care of everything!

    0

Please sign in to leave a comment.