Author Topic: AutoSSL not working on Centos7  (Read 12032 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
AutoSSL not working on Centos7
« on: May 05, 2017, 06:56:24 PM »
Hi!
When I set up my server I managed to create Let's Encrypt Certificates for each of my sites by using the Letsencrypt Manager.
After these certificates ended I can't use the AutoSSL. It keeps giving me the following error:
Code: [Select]
AutoSSL Issue Failed![Fri May  5 21:44:12 EEST 2017] Only RSA or EC key is supported.
[Fri May  5 21:44:12 EEST 2017] Please add '--debug' or '--log' to check more details.
[Fri May  5 21:44:12 EEST 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
AutoSSL Issue Failed![Fri May  5 21:44:12 EEST 2017] Only RSA or EC key is supported.
[Fri May  5 21:44:12 EEST 2017] Please add '--debug' or '--log' to check more details.
[Fri May  5 21:44:12 EEST 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh

I used the debugger but it didn't give more info.
I tried to use again the old procedure with Letsencrypt Manager but it's not working either. Here's the output:
Code: [Select]
Bootstrapping dependencies for RedHat-based OSes... (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
Package gcc-4.8.5-11.el7.x86_64 already installed and latest version
Package augeas-libs-1.4.0-2.el7.x86_64 already installed and latest version
Package 1:openssl-1.0.1e-60.el7_3.1.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7_3.1.x86_64 already installed and latest version
Package libffi-devel-3.0.13-18.el7.x86_64 already installed and latest version
Package redhat-rpm-config-9.1.0-72.el7.centos.noarch already installed and latest version
Package ca-certificates-2017.2.11-70.1.el7_3.noarch already installed and latest version
Package python-2.7.5-48.el7.x86_64 already installed and latest version
Package python-devel-2.7.5-48.el7.x86_64 already installed and latest version
Package python-virtualenv-1.10.1-3.el7.noarch already installed and latest version
Package python-tools-2.7.5-48.el7.x86_64 already installed and latest version
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Package 1:mod_ssl-2.4.6-45.el7.centos.4.x86_64 already installed and latest version
Upgrading certbot-auto 0.13.0 to 0.14.0...
Couldn't verify signature of downloaded certbot-auto. Command '['openssl', 'dgst', '-sha256', '-verify', '/tmp/tmp.ZlnIflG8jH/public_key.pem', '-signature', '/tmp/tmp.ZlnIflG8jH/letsencrypt-auto.sig', '/tmp/tmp.ZlnIflG8jH/letsencrypt-auto']' returned non-zero exit status 127

I'm using Centos 7 and the CWP version is 0.9.8.318

So, nothing is working as it should and I'm stucked. I really like CWP and I have the pro version but if there is no workaround for this issue I'll have to change control panel.

Thanks in advance
Vasilis

Offline
***
Re: AutoSSL not working on Centos7
« Reply #1 on: May 12, 2017, 09:00:50 AM »
Simple, just delete old certificates and reinstall new one.

Offline
*
Re: AutoSSL not working on Centos7
« Reply #2 on: March 22, 2021, 04:20:17 PM »
a have same problem!
it is not just to delete the certificate!

even deleting everything and reinstalling the cwp always gives the same error for all domains that I enter

my log


[Mon Mar 22 14:10:32 -02 2021] Running cmd: issue
[Mon Mar 22 14:10:32 -02 2021] _main_domain='xxxx.com.br'
[Mon Mar 22 14:10:32 -02 2021] _alt_domains='no'
[Mon Mar 22 14:10:32 -02 2021] Using config home:/root/.acme.sh
[Mon Mar 22 14:10:32 -02 2021] default_acme_server
[Mon Mar 22 14:10:32 -02 2021] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Mon Mar 22 14:10:32 -02 2021] DOMAIN_PATH='/root/.acme.sh/cwp_certs/xxxx.com.br'
[Mon Mar 22 14:10:32 -02 2021] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
[Mon Mar 22 14:10:32 -02 2021] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Mon Mar 22 14:10:32 -02 2021] GET
[Mon Mar 22 14:10:32 -02 2021] url='https://acme-v02.api.letsencrypt.org/directory'
[Mon Mar 22 14:10:32 -02 2021] timeout=
[Mon Mar 22 14:10:32 -02 2021] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  -g '
[Mon Mar 22 14:10:32 -02 2021] ret='0'
[Mon Mar 22 14:10:32 -02 2021] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
[Mon Mar 22 14:10:32 -02 2021] ACME_NEW_AUTHZ
[Mon Mar 22 14:10:33 -02 2021] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
[Mon Mar 22 14:10:33 -02 2021] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
[Mon Mar 22 14:10:33 -02 2021] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
[Mon Mar 22 14:10:33 -02 2021] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
[Mon Mar 22 14:10:33 -02 2021] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
[Mon Mar 22 14:10:33 -02 2021] ACME_VERSION='2'
[Mon Mar 22 14:10:33 -02 2021] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Mon Mar 22 14:10:33 -02 2021] _on_before_issue
[Mon Mar 22 14:10:33 -02 2021] _chk_main_domain='xxxx.com.br'
[Mon Mar 22 14:10:33 -02 2021] _chk_alt_domains
[Mon Mar 22 14:10:33 -02 2021] Le_LocalAddress
[Mon Mar 22 14:10:33 -02 2021] d='xxxx.com.br'
[Mon Mar 22 14:10:33 -02 2021] Check for domain='xxxx.com.br'
[Mon Mar 22 14:10:33 -02 2021] _currentRoot='/usr/local/apache/autossl_tmp/'
[Mon Mar 22 14:10:33 -02 2021] d
[Mon Mar 22 14:10:33 -02 2021] config file is empty, can not read CA_KEY_HASH
[Mon Mar 22 14:10:33 -02 2021] Using config home:/root/.acme.sh
[Mon Mar 22 14:10:33 -02 2021] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Mon Mar 22 14:10:33 -02 2021] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Mon Mar 22 14:10:33 -02 2021] Only RSA or EC key is supported. keyfile=/root/.acme.sh/ca/acme-v02.api.letsencrypt.org/account.key
[Mon Mar 22 14:10:33 -02 2021] _on_issue_err
[Mon Mar 22 14:10:33 -02 2021] Please check log file for more details: /root/.acme.sh/acme.sh.log

Offline
*
Re: AutoSSL not working on Centos7
« Reply #3 on: June 14, 2021, 02:21:57 PM »
Getting Same error and


Code: [Select]
- kanumale.com
Error Message: AutoSSL Issue Failed! ->[Mon Jun 14 20:19:22 +06 2021] Using CA: https://acme.zerossl.com/v2/DV90 [Mon Jun 14 20:19:22 +06 2021] No EAB credentials found for ZeroSSL, let's get one [Mon Jun 14 20:19:22 +06 2021] acme.sh is using ZeroSSL as default CA now. [Mon Jun 14 20:19:22 +06 2021] Please update your account with an email address first. [Mon Jun 14 20:19:22 +06 2021] acme.sh --register-account -m my@example.com [Mon Jun 14 20:19:22 +06 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA [Mon Jun 14 20:19:22 +06 2021] Please check log file for more details: /root/.acme.sh/acme.sh.log

Offline
*
Re: AutoSSL not working on Centos7
« Reply #4 on: June 14, 2021, 04:10:44 PM »
Same issue... Just added a new domain, can't generate an LE SSL, the system is requiring an email... Something has changed! I have added 19 domains in the last two months and never had an issue!

Offline
*
Re: AutoSSL not working on Centos7
« Reply #5 on: June 14, 2021, 04:14:56 PM »
Issue is being wroked on, there is a fix available... see this thread: https://forum.centos-webpanel.com/index.php?topic=10946.0

Offline
*
Re: AutoSSL not working on Centos7
« Reply #6 on: June 15, 2021, 10:59:53 AM »
Issue is being wroked on, there is a fix available... see this thread: https://forum.centos-webpanel.com/index.php?topic=10946.0

Look at when patch is applied all NginX sites will stop working. So be aware!