Code: Select all
Testing with zmcertmgr.
** Verifying '/run/certbot-zimbra/certs-SIN9fqQ8/cert.pem' against '/run/certbot-zimbra/certs-SIN9fqQ8/privkey.pem'
ERROR: Certificate '/run/certbot-zimbra/certs-SIN9fqQ8/cert.pem' and private key '/run/certbot-zimbra/certs-SIN9fqQ8/privkey.pem' do not match.
Code: Select all
certbot --force-renewal --preferred-chain "ISRG Root X1" renew
Code: Select all
Hook 'pre-hook' ran with output:
certbot-zimbra v0.7.12 - https://github.com/YetOpen/certbot-zimbra
Checking for dependencies...
Detected Zimbra 8.8.15 on UBUNTU18_64
Using zmhostname to detect domain.
Using domain mail.domain.com (as certificate DN)
Checking zimbra-proxy is running and enabled
Detecting port from zimbraMailProxyPort
Checking if process is listening on port 80 with name "nginx" user "zimbra"
Nginx templates already patched.
Nginx includes already patched, skipping zmproxy restart.
Renewing an existing certificate for mail.domain.com
Hook 'deploy-hook' reported error code 1
Hook 'deploy-hook' ran with output:
certbot-zimbra v0.7.12 - https://github.com/YetOpen/certbot-zimbra
Checking for dependencies...
Detected Zimbra 8.8.15 on UBUNTU18_64
Using zmhostname to detect domain.
Using domain mail.domain.com (as certificate DN)
Detected --deploy-hook and matching domain found
Preparing certificates for deployment.
Testing with zmcertmgr.
** Verifying '/run/certbot-zimbra/certs-Nuv6fNbp/cert.pem' against '/run/certbot-zimbra/certs-Nuv6fNbp/privkey.pem'
ERROR: Certificate '/run/certbot-zimbra/certs-Nuv6fNbp/cert.pem' and private key '/run/certbot-zimbra/certs-Nuv6fNbp/privkey.pem' do not match.
An error seems to have occurred. Please read the output above for clues and try to rectify the situation.
If you believe this is an error with the script, please file an issue at https://github.com/YetOpen/certbot-zimbra.
Hook 'deploy-hook' ran with error output:
139788523174656:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:p_lib.c:287: