Skip to content

slaughter550/google-lb-certificate-autorotation-letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Google Load Balancer Auto Update for Wildcard SSL Certificates

This script provides the ability to automate the rotation of Google Load Balancer target proxy endpoints. The goal of this script is to enable the stable deployment of "LetsEncrypt" wildcard SSL Certificates to a staging or production environment.

Requirements

Setup

  1. Clone repo locally
  2. Edit the variables SITE, NAME and TARGET_PROXY inside of update-cert.sh to configure the domain
  3. Edit crontab -e and add a daily record to perform the update.

A scheduler is recommended for prod envs. This is just a bootstrap example.

0 0 * * * /root/update-cert.sh >> /root/logs/cron 2>&1
  1. Enjoy having auto-updated wildcard certs on GCP!

About

Automate the rotation of Google LB Certs with Wildcards from LetsEncrypt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages