Skip to content

mattTrustzone/tz-bot-sectigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tz-bot

This repository contains a wrapper script that makes it easier to use the Lego ACME clien (https://github.com/go-acme/lego) with the TRUSTZONE's ACME Pro Sectigo DV server. This wrapper is a re-working of ZEROSSL's zerossl-bot

Installation

Install the tz-bot script

  1. Quick:
    1. run: bash <(wget -q -O - https://raw.githubusercontent.com/mattTrustzone/tz-bot-sectigo/main/get-tzbot.sh)
    2. Done!
  2. Careful:
    1. Run: wget -q -O - https://raw.githubusercontent.com/mattTrustzone/tz-bot-sectigo/main/get-tzbot.sh > get-tzbot.sh
    2. Inspect the file to see that it does what it is supposed to do
    3. Run: source get-tzbot.sh
  3. Download via portal:
    1. A zipped tar file of tz-bot can be downloaded in your TRUSTZONE customer portal
    2. Unzip and copy the tz-bot folder to your desired endpoint.
    3. Run source get-tzbot.sh

Usage

To use the TrustZone ACME server instead of running certbot run tz-bot. When prompted, provide your EAB KID (KeyID) and EAB HMAC Key (ACME MAC).

Examples

sudo tz-bot certonly --standalone -d mydomain.example.com
sudo tz-bot --apache -d myotherdomain.example.com
sudo tz-bot --apache -d mythirddomain.example.com 
sudo tz-bot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/cloudflare-api-token \
                          --dns-cloudflare-propagation-seconds 60 -d fourth.example.com \

Recommendations

Ensure correct ACME server URL is used (--server flag):

 --server https://acme.sectigo.com/v2/DV

Known issues

There have been issues reported with certbot interactive prompt causing certificates of Let's Encrypt instead of Sectigo being issued. It is recommended to hand over parameters directly using the documented flags.

About

A version of tz-bot that works with Sectigo's ACME service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages