celti / lets-nfsn.sh Goto Github PK
View Code? Open in Web Editor NEWLet's Encrypt automation for NearlyFreeSpeech
License: MIT License
Let's Encrypt automation for NearlyFreeSpeech
License: MIT License
Hello! Today i received another email from NFS cron saying:
Your scheduled task "letsencrypt" on site xxx:
/home/private/lets-nfsn.sh/nfsn-cron.sh
completed at 2016-08-16 06:00:42 UTC after 2 seconds and produced the
following output:
+ Updating lets-nfsn.sh...
Already up-to-date.
+ Updating letsencrypt.sh...
+ Checking certificate expiration date...
+ More than 30 days until any certificate expires. Exiting.
However, when i manually visit my site, click the padlock and View Certificate in my browser, i see that its expiry is on the 12th of September, which seems like less than 30 days from now. What could be the issue? On occasion i've seen a successful git pull
in the cron report, so i believe i'm running the latest version of this script.
Please don't hesitate to ask if i can provide more info, i'm not really sure how to debug this. Apologies in advance if it's PEBKAC! Thanks :)
Currently config files and well-known directories are created in nfsn-setup.sh
script. This has a disadvantage that if site’s configuration ever changes (new alias is added or site-roots are toggled), the configuration no longer matches the reality.
Furthermore, I’m using rsync to push files to my site. Since I don’t have .well-known
directory on my local machine, rsync deletes it remotely. I probably could work around it in rsync but I feel that it would be better if nfsn-cron.sh
regenerated the directories itself.
Thoughts?
I used this utility to add SSL to one of my sites, but want to remove it. Basically I want to undo whatever this tool does. How would I do that?
This script is great, but I'm already tired of getting several emails from NFSN every day (one for each site I own).
Can we either
a) print to stderr
on errors (including the 30-day notice) so that I can redirect stdout to /dev/null
b) add an option to suppress all output unless there's any errors (very similar to above)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.