Skip to content

Python script collection written for Nginx. Allows the dynamic update of symlinks to SSL certificates based on the last created certificate and key. Best used with tools such as AutoSSL.

License

Notifications You must be signed in to change notification settings

WiddleWabbit/nginx-sslupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requires:

     Python 2.6.6


This script will update symlinks specified inside it to the latest ssl certificates from the relevant accounts on the server.
Designed for use with cPanel's AutoSSL. This was created to combat Nginx requiring a direct link to the SSL Certificate while in use as a reverse proxy for Varnish Caching.

As an addition there is now an additional script that will now also add the ca bundle from cPanel, using the cPanel UAPI, to the bottom of the certificate file. This is to prevent certificate incomplete errors
and to prevent errors on mobile devices where the device's browser does not store copies of as many trusted Certificate Authorities as a desktop browser does.

Either script is run with the -u command on a cpanel server to specify the user to check/modify

About

Python script collection written for Nginx. Allows the dynamic update of symlinks to SSL certificates based on the last created certificate and key. Best used with tools such as AutoSSL.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published