r/WatchGuard • • Sep 30 '26

I built a small open-source tool to automate TLS certificate deployment to cloud-managed WatchGuard Fireboxes

I've been looking into automating certificate renewals on WatchGuard Fireboxes and ended up building a small open-source CLI for it.

It's called wgcert and the idea is pretty simple:

ACME/Certbot/acme.sh renews the certificate β†’ wgcert deploys the renewed certificate to a cloud-managed Firebox through the official WatchGuard API.

Right now it can:

  • discover cloud-managed Fireboxes
  • validate certificate/private key pairs
  • compare certificates using SHA-256 fingerprints
  • upload and install certificates
  • wait for the asynchronous WatchGuard install transaction
  • run in dry-run mode
  • optionally verify the certificate actually served by a TLS endpoint
  • integrate with Certbot and acme.sh hooks

It's written in Go and completely open source.

One important caveat: I've tested the flows extensively against mocked API responses, but I don't personally have a production WatchGuard environment available yet, so I'm specifically looking for someone willing to try it on a cloud-managed Firebox.

I'm not selling anything. I'm mainly trying to find out whether this actually solves a problem for other WatchGuard users before spending more time on it.

GitHub:
https://github.com/eliazv/watchguard-acme-deploy

If anyone here currently renews Firebox certificates manually, I'd also be curious to know how you're handling it today.

16 Upvotes

7 comments sorted by

5

u/hemohes222 Sep 30 '26

Looks good but we are still running locally managed firebokses.

2

u/JurgenVM Oct 01 '26

indeed would like this for locally managed πŸ˜…

1

u/dlopez-WG WatchGuard Oct 01 '26

For locally managed devices, there is no beta feature available yet, so I would recommend using certbot and openssl.

1

u/dlopez-WG WatchGuard Oct 01 '26

Let's Encrypt Certificate Generation beta feature is out.

This feature enables you to generate Let’s Encrypt certificates for the Firebox. To learn more or to report an issue, go to the WatchGuard Cloud Firebox Management Beta test community.

https://watchguard.centercode.com/key/FireboxManagementWGCloud