Letsencrypt don’t issue or create cert.pem or valid certificate
Steps:
0. update cyberpanel to its last version
- verify DNS and zone file (everything ok and was working until now also renewing the certificate was working)
- Open the domain file manager and fix all permissions
- renew acme wget -O - https://get.acme.sh | sh
- remove the old certificate (rm -rf /etc/letsencrypt/live/paraisorustico.com.br)
5 check vhost:
context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowBrowse 1
rewrite {
}
addDefaultCharset off
phpIniOverride {
}
}
vhssl {
keyFile /etc/letsencrypt/live/paraisorustico.com.br/privkey.pem
certFile /etc/letsencrypt/live/paraisorustico.com.br/fullchain.pem
certChain 1
sslProtocol 24
enableECDHE 1
renegProtection 1
sslSessionCache 1
enableSpdy 15
enableStapling 1
ocspRespMaxAge 86400
}
- check domain root if folder /.well-known/acme-challenge was created (It was not created)
7./root/.acme.sh/acme.sh --register-account -m contato@mydomain.com.br - check /usr/local/lsws/Example/html/.well-known/acme-challenge (there was a empty file created for the domain)
9 checking / disabling firewall (this was not the problem) - checking /etc/letsencrypt/live/paraisorustico.com.br (there was found fullchain.pem and privkey.pem but not the cert.pem file)
I don’t know more how I could fix this, help was appreciated.
Thank you

