🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ATTN Allpingers Admin

#284357
From: Cornelis Tromp
Date: Sun, 11 Sep 2016 19:36
67 lines
4031 bytes
> 
> On 09/11/2016 11:35 AM, Anonymous Remailer (austria) wrote:
> 
>>>
>>> Allpingers.net is currently unvailable.
>>>
>>> ~$ ping -c5 allpingers.net
>>> PING allpingers.net (128.199.47.171) 56(84) bytes of data.
>>>
>>> --- allpingers.net ping statistics ---
>>> 5 packets transmitted, 0 received, 100% packet loss, time 4033ms
>>
>>   Yes, thanks for the heads up.  I am having trouble with letsencrypt.  They have apparently made some kind of update that is causing the problem.  I had the same problem last week with inwtx.net.  The nginx web server has to be stopped for letsencrypt to run because it needs port 80.  Then after letsencrypt runs, my letsencrypt update script is supposed to start nginx again.  The nginx restart bombs, apparently because letsencrypt still has port 80 locked up.  I fixed this last week by putting into the script a 60 second delay.  After this, nginx began starting again.  I just added this delay to the allpingers.net script.
>>
> 
> I've noticed that allpingers.net has a brand new TLS cert!
> 
> LetsEncrypt updates your cert every 3 months, I see. How are you liking
> the LetEncrypt service so far The last time I considered using it they
> did not yet have support for Nginx so I went with another cert provider.

  It seems to be running ok, however they auto updated all letsencrypt files on my machines to what I think is now called CertBot.  When they did this, all cert update attempts began to bomb.  I posted a question on this on their forum and someone suggested I do a back out to the original system and that corrected the problem.  So I am using the original letsencrypt program and it seems to be working ok, except for the delay I had to put into the script to allow it to get out of the way before trying to restart nginx.

  Here is my script.  I think you still have to run one via cron to check for a needed update periodically.

#!/bin/sh
# LetsEncryptRenew.sh
#
# Cron: check every other day at 0100
#0 01 */2 * * /etc/LetsEncryptRenew.sh &> /dev/null
#
# This script checks daily to see if the letsencrypt
# cert needs renewing.
# Letsencrypt will 'renew' any previously-obtained
# certificates that expire in less than 30 days
# (overriden with --force-renew).
#

export PATH=$PATH:/sbin
export PATH=$PATH:/bin
export PATH=$PATH:/lib
export PATH=$PATH:/usr/sbin

# Can stop nginx with either of these, but found killall with --wait better.
#service nginx stop  # or whatever your webserver is
killall --wait /usr/sbin/nginx

/root/letsencrypt/letsencrypt-auto renew -nvv --standalone > /var/log/letsencrypt/renew.log 2>&1

LE_STATUS=$?  # $? = exit status

sleep 60

service nginx start

# Send youself an email upon fail (this will be sent every time there isn't an update)
if [ "$LE_STATUS" != 0 ]; then
    cat /var/log/letsencrypt/renew.log | mail -s "LetsEncryptRenew.sh - cert auto-renewal failed!" \
 you@yourISP.net -r admin@you.net
   exit 1
   else
# Send youself an email upon succeed
   cat /var/log/letsencrypt/renew.log | mail -s "LetsEncryptRenew.sh - cert auto-renewal succeeded!" \
 you@yourISP.net -r admin@you.net
fi

exit 0
Technical Details
Message-ID: <cf150afe082dc2fea7148b72febfecd9@anon.holland.remailer.nl>
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: <nr421b$vhf$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <cf150afe082dc2fea7148b72febfecd9@anon.holland.remailer.nl>
Subject: Re: ATTN Allpingers Admin
Date: Sun, 11 Sep 2016 19:36:44 +0000
From: Cornelis Tromp <nobody@holland.remailer.nl>
References: <nr421b$vhf$1@dont-email.me>
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
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <abuse@holland.remailer.nl>.
Newsgroups: alt.privacy.anon-server
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
Lines: 67