Skip to content

Script to automatically update certificate and update an F5 client ssl profile.

Notifications You must be signed in to change notification settings

tbirdv6/f5_le_http_auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

f5_le_http_auto

Script to automatically update certificate and update an F5 client ssl profile.

Pre Reqs Python 2.7 pip f5 python sdk certbot

  1. Create new cert.

create new cert using certbot certonly --webroot -w /var/www/html/cert -d example.com -d test.example.com

  1. Edit Python script.

Change the following lines to reflect your domain(s).

domain = 'test.example.com' key = '/etc/letsencrypt/live/example.com/privkey.pem' cert = '/etc/letsencrypt/live/example.com/cert.pem' chain = '/etc/letsencrypt/live/example.com/chain.pem'

  1. Edit the config/creds.json file to reflect you F5 Managment port and credentials.

  2. Cron Add certbot renew to cron. (once a month should work) Add the python script to cron running after the renew.

The bulk of the script came from Jason Rahm of F5 Networks.

About

Script to automatically update certificate and update an F5 client ssl profile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages