Zmcertmgr + cannot read file error

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:network1.ca
network1.ca
I ran this command:
zmcertmgr verifycrt comm privkey.pem cert.pem chain.pem
It produced this output:
** Verifying ‘cert.pem’ against ‘privkey.pem’
ERROR: Can’t read file ‘privkey.pem’
ERROR: Can’t read file ‘cert.pem’
My web server is (include version):
nginx 1.71
The operating system my web server runs on is (include version):
centos 6
My hosting provider, if applicable, is:

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 1.1.0

Hi @pattonb

I have no idea how that tool works. But to check the privkey.pem, root access is required.

Run it as root.

1 Like

this is a zimbra mail server, and I have been using the same process, and it stipulates, that you run the verifcrt as the ‘zimbra’ user, which I have been doing for the last 24 months, This error is new to me, ( I have made plenty of the other mistakes, LOL) , however, I shall try that. thank you

1 Like