Welcome to Centmin Mod Community
Register Now

Letsencrypt Letsencrypt

Discussion in 'Install & Upgrades or Pre-Install Questions' started by lostincable, Jun 6, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    1:02 AM
    Nginx 1.21.x
    MariaDB 10.x
    somehow acme.sh picked staging letsencrypt server
    Code (Text):
    [Mon Jun  6 06:20:17 UTC 2022] _selectServer try snames='zerossl.com,zerossl'
    [Mon Jun  6 06:20:17 UTC 2022] _selectServer try snames='letsencrypt.com,letsencrypt'
    [Mon Jun  6 06:20:17 UTC 2022] _selectServer try snames='letsencrypt.com_test,letsencrypt_test,letsencrypttest'
    [Mon Jun  6 06:20:17 UTC 2022] _selectServer match letsencrypt_test
    [Mon Jun  6 06:20:17 UTC 2022] Selected server: https://acme-staging-v02.api.letsencrypt.com/directory

    if you run /usr/local/src/centminmod/addons/acmetool.sh acmeupdate it should set the default server to letsencrypt as well - you'd see
    Code (Text):
    set default acme.sh CA to letsencrypt:
    acme.sh --set-default-ca --server letsencrypt
    [Wed Jun  8 02:17:44 UTC 2022] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory

    Then try a reissue. If that doesn't work you can try deleting the domain directories relevant to the problematic domains in /root/.acme.sh/ directory and then do a reissue