Skip to content

A python script that automatically renews your SSL certificate with ZeroSSL API

Notifications You must be signed in to change notification settings

b39b332d/ZeroSSL-CertRenew

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

ZeroSSL-CertRenew

A python script that automatically renews the certificate on ZeroSSL

Change following variables:

        self.proxies = None
        self.apiKey = 'your api key' #https://app.zerossl.com/developer
        self.certificateDomain = 'your domain name'
        self.install_loc = '/etc/nginx/ssl/'
        self.web_root = '/var/www/html/'

The script will download certificates to self.install_loc.

OpenSSL is used to create the private key and csr.

There is no exception handling anywhere in the code, so things might not be stable.

Execute the script with

python3 ZeroSSL_CertRenew.py

For users who cannot use acme certbot

About

A python script that automatically renews your SSL certificate with ZeroSSL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%