Comments (5)
I changed it's name because of this error:
obtain-and-deploy-letsencrypt-cert.sh: warning: You are using deprecated script name, change it to 'letsencrypt-zimbra.sh'
That means that you call /.../obtain-and-deploy-letsencrypt-cert.sh
in the crontab (you pasted) instead of /.../letsencrypt-zimbra.sh
(which is the new name of the script in this repo).
I just ran it again and it turns out is not working:
letsencrypt-zimbra.sh: error: The root CA certificate '/opt/letsencrypt-zimbra/root_certs/ISRG_Root_X1.crt' isn't readable file.
That means that the script cannot locate that file. Is the letsencrypt-zimbra
"installed" as described in the README? Maybe you have renamed/moved it to somewhere else. The best way to fix this is probably to drop the /opt/letsencrypt-zimbra
directory and clone this repo again at /opt/letsencrypt-zimbra
location. Don't forget to keep your letsencrypt-zimbra.cfg
.
I'm so done with zimbra, I will just create a new server with webmin and create a simple mail server, zimbra is way too complicated, etc
I see. I guess you don't need to solve this issue anymore, so I am closing this issue now. Feel free to reopen if you need further assistance.
from letsencrypt-zimbra.
Hi @dhcmega
it would be nice to open a new issue next time as your problem seems not to be relevant to exchange of root certificates.
As you can notice, the log message you refer is just a warning. The script does not fail on this probably. Are there some other error messages? What exactly does not work?
Could you check (and paste here) your cron file? In the README, I recommend a file placed in /etc/cron.d/
but there are several location where a cron job can be defined: /etc/crontab
, /etc/cron.*/
, or /var/spool/cron/crontabs/
.
I also don't understand what did you really "renamed". If you are using letsencrypt-zimbra
from the git repo, you should not rename or move anything but the configuration file described in the README.
Vojtech
from letsencrypt-zimbra.
Hi @VojtechMyslivec yes sorry, you are right.
I thought it was related as this problem was the result of solving the root cert.
I changed it's name because of this error:
obtain-and-deploy-letsencrypt-cert.sh: warning: You are using deprecated script name, change it to 'letsencrypt-zimbra.sh'
I just ran it again and it turns out is not working:
letsencrypt-zimbra.sh: error: The root CA certificate '/opt/letsencrypt-zimbra/root_certs/ISRG_Root_X1.crt' isn't readable file.
I don't how I made it work when I was able to manually regenerate the certs.
I'm so done with zimbra, I will just create a new server with webmin and create a simple mail server, zimbra is way too complicated, etc
Thank you!
PS: The cron was located at /etc/cron.d (never looked there)
# renew the certificate
3 6 * * * zimbra /opt/letsencrypt-zimbra/obtain-and-deploy-letsencrypt-cert.sh -q
there is also a certbot file there:
0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -
q renew
from letsencrypt-zimbra.
It actually worked. I just cloned the repo again, saved my .cfg, and it worked.
I have already created the new server with virtualmin, but I will not shutdown the zimbra server if the cert renewal works in 2 month, so I will wait to see if I switch to virtualmin.
Thank you for taking the time to explain the steps, it only took 2 minutes to clone and generate de certs. I've struggling for 2 weeks now.
dhcmega
from letsencrypt-zimbra.
Nice! I am happy to help.
Wish you good luck 🍀
from letsencrypt-zimbra.
Related Issues (20)
- Renew vs continual obtain-and-deploy HOT 7
- not working on Zimbra 8.8.12 HOT 6
- Hi I'm trying to run your script but always getting error HOT 2
- "Which" is needed in CentOS 7 HOT 2
- zmcontrol restart stucked after renewing certificate HOT 6
- Logging feature
- Cron job seems not run HOT 4
- Issued certificate is not readable HOT 7
- Snapd volumes at 100% full HOT 4
- cp: cannot stat 'configs/sudoers.conf': No such file or directory HOT 3
- Signing certificated should be upgraded to ISRG Root X1 because DST Root CA X3 Expiration HOT 5
- Certificate is not trusted by Kaspersky antivirus software HOT 39
- expiration of the DST Root CA X3 HOT 24
- string too long HOT 1
- Certbot error HOT 1
- ordering issue of chains HOT 15
- zmcertmgr verifycrt fails HOT 2
- How to get version 1.6 of certbot? Snap lists 1.32 as latest. HOT 7
- Issued certificate check fails for some reason HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from letsencrypt-zimbra.