Git Product home page Git Product logo

lets-nfsn.sh's People

Contributors

celti avatar mina86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lets-nfsn.sh's Issues

Certificate has less than 30 days validity, but isn't being refreshed

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 :)

Should configuration generation be in nfsn-cron instead?

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?

How do you "undo" this?

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?

make normal case less spammy

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.