You can get a real cert for less than 4 dollars for a year!! Https://ssls.com
Remo > On Mar 1, 2020, at 7:24 PM, ChandranManikandan <[email protected]> wrote: > > Hi Biju, > > Thanks for help. > > I have made mistake in dovecot configuration which was in default ssl > certificate. > then i have changed from default to letsencrypt path and now the email client > is working fine with the 3 months renewal. > > i have made the schedule with the below command in crontab > > crontab -e > > 0 0 * * * certbot renew > > is this command correct in centos 7, because i couldn't see the /opt/certbot > path in my server. > Please advise. > Appreciate your help. > > > On Fri, Feb 28, 2020 at 6:59 PM Biju Jose | WHITES Systems > <[email protected] <mailto:[email protected]>> wrote: > Certbot renew will renew the certificate files it is due for renewal, if it > does, the renewed files are not copied to servercert.pem, for that you can > run the following script. > > > Create a script /var/qmail/control/letsencrypt-qmail > > > > qmailctl stop > > systemctl stop dovecot > > > > cat /etc/letsencrypt/live/<your_cert_dir>/{cert,chain,fullchain,privkey}.pem> > /var/qmail/control/servercert.pem > > chmod 640 /var/qmail/control/servercert.pem > > > > chown vpopmail:vchkpw /var/qmail/control/servercert.pem > > qmailctl restart > > systemctl restart dovecot > > > > schedule this to run after cerbot renew > > > > Best Regards > > Biju Jose > > > > From: ChandranManikandan <[email protected] <mailto:[email protected]>> > Sent: 28 February 2020 16:11 > To: [email protected] > <mailto:[email protected]> > Subject: [qmailtoaster] letsencrypt renewal issue > > > > Hi Friends, > > > > I am using Centos 7 64 bit with qmailtoaster > > I am having letsencrypt certificate renewal issue below. > > Could anyone help me. > > > > My certificate is not renew automatically. > > The log is below. > > > > 2020-02-28 00:00:02,991:DEBUG:certbot.main:certbot version: 0.39.0 > 2020-02-28 00:00:02,991:DEBUG:certbot.main:Arguments: [] > 2020-02-28 00:00:02,991:DEBUG:certbot.main:Discovered plugins: > PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#web > 2020-02-28 00:00:03,016:DEBUG:certbot.log:Root logging level set at 20 > 2020-02-28 00:00:03,016:INFO:certbot.log:Saving debug log to > /var/log/letsencrypt/letsencrypt.log > 2020-02-28 00:00:03,025:DEBUG:certbot.plugins.selection:Requested > authenticator <certbot.cli._Default object at 0x7fabfc3aaed0> and installer > <certbot.cli._Default object at 0x7fabfc3aaed0> > 2020-02-28 00:00:03,079:INFO:certbot.renewal:Cert not yet due for renewal > 2020-02-28 00:00:03,080:DEBUG:certbot.plugins.selection:Requested > authenticator apache and installer apache > 2020-02-28 00:00:03,081:DEBUG:certbot.plugins.selection:Selecting plugin: * > apache > Description: Apache Web Server plugin > Interfaces: IAuthenticator, IInstaller, IPlugin > Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT > Initialized: <certbot_apache.override_centos.CentOSConfigurator object at > 0x7fabfc3b4fd0> > 2020-02-28 00:00:03,081:DEBUG:certbot.plugins.storage:Plugin storage file > /etc/letsencrypt/.pluginstorage.json was empty, no values loaded > 2020-02-28 00:00:03,081:DEBUG:certbot.renewal:no renewal failures > > > > my crontab file command is below. > > > > 0 0 * * * /usr/bin/certbot renew > > > > > > > > -- > > Regards, > Manikandan.C > > > > -- > Regards, > Manikandan.C
