I ran this command: su - zextras -c 'zmcertmgr verifycrt comm /opt/zextras/ssl/carbonio/commercial/commercial.key /tmp/cert.pem /tmp/chain.pem'
It produced this output:** Verifying '/tmp/cert.pem' against '/opt/zextras/ssl/carbonio/commercial/commercial.key'
139818709017920:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:crypto/evp/p_lib.c:474:
ERROR: Certificate '/tmp/cert.pem' and private key '/opt/zextras/ssl/carbonio/commercial/commercial.key' do not match.
My web server is (include version): carbonio mail
The operating system my web server runs on is (include version): ubuntu
I can login to a root shell on my machine (yes or no, or I don't know): YES
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):NO
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 2.5.0
I understand that your time is valuable and I appreciate your help in solving my problem. I am waiting for any information you require from me to help me.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Currently, the renew verb is capable of either renewing all installed certificates that are due to be renewed or renewing a single certificate specified by its name. If you would like to renew specific certificates by their domains, use the certonly command instead. The renew verb may provide other options for selecting certificates to renew in the future.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
(U)pdate key type/(K)eep existing key type: U
Renewing an existing certificate for mail.infordata.com.ec
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/mail.infordata.com.ec/fullchain.pem
Key is saved at: /etc/letsencrypt/live/mail.infordata.com.ec/privkey.pem
This certificate expires on 2023-08-01.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
If you like Certbot, please consider supporting our work by:
I did the certificate verification and got the same error
root@mail:~# su - zextras
zextras@mail:~$ cd /opt/zextras/ssl/carbonio/commercial
zextras@mail:~/ssl/carbonio/commercial$ zmcertmgr verifycrt comm commercial.key commercial.crt commercial_ca.crt
** Verifying 'commercial.crt' against 'commercial.key'
140509829821760:error:0607907F:digital envelope routines:EVP_PKEY_get0_RSA:expecting an rsa key:crypto/evp/p_lib.c:474:
ERROR: Certificate 'commercial.crt' and private key 'commercial.key' do not match.
zextras@mail:~/ssl/carbonio/commercial$