Article View: alt.privacy.anon-server
Article #298161Re: LetsEncrypt and renewal process
From: Anonymous
Date: Fri, 06 Apr 2018 16:59
Date: Fri, 06 Apr 2018 16:59
44 lines
2593 bytes
2593 bytes
Anonymous presented the following explanation :
> SEC3 formulated on Friday :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>>
>> I am in the process of replacing my self-signed TLS certs at
>> loadmx.net and roance.net email servers and replacing them with
>> LetsEncrypt certs.
>>
>> The process went smoothly at loadmx.net because I have a Web server
>> installed there. This is a requirement for LetEncrypt certs because
>> of the domain-ownership verification process.
>>
>> At roance.net I have no Web server installed. My question is: Is
>> the
>> presence of a Web server still necessary after the initial creation
>> and installation of the LE certs? That is, does the certificate
>> renewal process (which is automated via a cronjob) also require a
>> Web
>> server to be present?
>>
> Interesting question. However, I always receive an email from
> LetsEncrypt letting me know that the cert needs to be renewed. So
> you could turn on your web server to just renew it.
>
> A test you could do is after you get the initial cert, shutdown
> your server and execute the forced cert renewal string to see if it
> will update without the web server running. It will probably only
> give you an error saying that no server avaliable.
In addition, you could use a cron to turn on the web server one
minute before a cert update and turn if off again 5 minutes later.
0 5 * * 1 service nginx stop &> /dev/null
5 5 * * 1 /root/certbot-auto renew &> /dev/null
10 5 * * 1 service nginx start &> /dev/null
Explanation:
5:00am every Monday - start nginx
5:05am every Monday - try to renew cert, will do nothing if not ready
to
be renewed
5:10am every Monday - stop nginx
Technical Details
Message-ID:
<pa890v$vr6$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<iwMxC.71568$us1.34549@fx03.iad> <pa87u9$uco$1@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <pa890v$vr6$1@news.mixmin.net> Subject: Re: LetsEncrypt and renewal process Date: Fri, 06 Apr 2018 11:59:07 -0500 From: Anonymous <anonymous@anonymous.com> References: <iwMxC.71568$us1.34549@fx03.iad> <pa87u9$uco$1@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail X-Received-Bytes: 2589 X-Received-Body-Crc: 1935451176 X-Newsreader: MesNews/1.08.06.00-gb Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Newsgroups: alt.privacy.anon-server Organization: Anonymous Reply-To: anonymous@anonymous.com Content-Type: text/plain; charset="iso-8859-15"; format=flowed Injection-Date: Fri, 6 Apr 2018 16:59:12 -0000 (UTC)