🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #298162

Re: LetsEncrypt and renewal process

#298162
From: Anonymous
Date: Fri, 06 Apr 2018 17:00
52 lines
2942 bytes
Anonymous wrote on 4/6/2018 :
> 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

Correction:
0 5 * * 1 service nginx start &> /dev/null
5 5 * * 1 /root/certbot-auto renew &> /dev/null
10 5 * * 1 service nginx stop &> /dev/null
Technical Details
Message-ID: <pa894k$fv$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!news.usenet.farm!..!..!not-for-mail
References: <iwMxC.71568$us1.34549@fx03.iad> <pa87u9$uco$1@news.mixmin.net> <pa890v$vr6$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <pa894k$fv$1@news.mixmin.net>
Subject: Re: LetsEncrypt and renewal process
Date: Fri, 06 Apr 2018 12:00:57 -0500
From: Anonymous <anonymous@anonymous.com>
References: <iwMxC.71568$us1.34549@fx03.iad> <pa87u9$uco$1@news.mixmin.net> <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!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Anonymous
Reply-To: anonymous@anonymous.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 6 Apr 2018 17:01:09 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="8d41cd8a94b9f16e1ed62795a80185ddbaf262f6";
X-Newsreader: MesNews/1.08.06.00-gb
Lines: 51