Coder Social home page Coder Social logo

seitabv / pythonanywhere-ssl-renewal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asher-scott/pythonanywhere-ssl-renewal

0.0 2.0 0.0 6 KB

Python script for automating the SSL renewal process on PythonAnywhere (update 01/2019: PA now supports this natively)

Python 100.00%

pythonanywhere-ssl-renewal's Introduction

PythonAnywhere SSL Certificate Renewal Script

A python script for use with www.pythonanywhere.com that checks to see if SSL certificates are about to expire. If they are, the script generates new certificates and installs them.

Setup

If you haven't set up SSL on your domain for use with pythonanywhere please see this page for details on how to do so. If you have, then follow these steps to set up the automatic renewal script contained in this repository:

  1. Clone this repository inside of your home directory in python anywhere
  2. Edit the renew_ssl.py file and insert the domains for which you have installed certificates values in the DOMAIN_NAMES list, e.g. DOMAIN_NAMES = ["www.yourdomain.com", "anotherdomain.org"]. Be sure to do this carefully! If you insert improper values here, the script will not work as intended. You can also change the DAYS_BEFORE_RENEWAL value to something you prefer.
  3. On your pythonanywhere dashboard, click on the "Tasks" tab, and create a task to run the renew_ssl.py script at whatever time interval you prefer.

If you configured everything properly, the script should be all set to go and you can forget about manually generating openssl certificates for as long as you'd like!

pythonanywhere-ssl-renewal's People

Contributors

asher-scott avatar nhoening avatar

Watchers

 avatar  avatar

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.