Automating the renewal of SSL certificates for F5 load balancers
You can automate the renewal of wildcard domain SSL certificates on F5 Load Balancers across all data centers.
Benefits
Automating the renewal of SSL certificates offers the following benefits:
- Save the time required to renew the SSL certificates.
Certificates can have shorter validity periods, allowing you to get the latest security patches, practices, and features.
Reduce manual efforts and eliminate the chance for human error.
Scenario: Automated SSL certificate renewal
Before you begin
Because only network team members are entitled to these services, only a network team members can submit these requests.
The InfoSec team acquires new wildcard certificates, intermediate certificates and RSA keys from the Certificate Authority (DigiCert) and uploads them in the Password Vault. The team then shares the password ID with the Network team.
Automation workflow
The automation workflow consists of two stages:
- Import the SSL certificates and key: Upload the .crt and .key files for the wildcard certificate and intermediate certificate to the F5 load balancer server, and then import the SSL certificates and key.
- Update the profile: Update the testssl profile and customer's profile on the F5 load balancer server with the newly imported certificate chain and key.
To import the SSL certificates and key
The following image shows the stage 1 automation process:
- The network team submits a DWP request to upload and import the new SSL certificate.
- The request triggers a Jenkins job.
- The job performs the following actions:
- Uploads the new certificate with chain and key to the F5 load balance of the selected data center.
- Imports the certificate with chain and key to the location from where the load balancer can use them.
- The job sends a notification to the network team on the successful completion.
- If the job fails at the upload or import stage, it sends a failure notification to the network team.
To update the SSL client profile
The following image shows the stage 2 automation process:
- The network team submits a DWP request.
- The request triggers a Jenkins job.
- The job updates the testssl profile and customer's profile on the F5 load balancer server with the newly imported certificate chain and key.
- If the update status is successful, it performs the following steps:
- Downloads the certificate from the customer's profile.
- Tests the expiry to validate the certificate is updated successfully.
- Notifies the network team.
- Closes the request.
- If the update status is failed, notifies the network team and closes the request.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*