Skip to content

Instantly share code, notes, and snippets.

View bharatvaj's full-sized avatar

Bharatvaj Hemanth bharatvaj

View GitHub Profile
@bharatvaj
bharatvaj / apit.sh
Last active December 18, 2025 02:12
"Config" based certificate installer for acme.sh
#!/bin/sh
# apit - acme.sh post install tool
#
# You issued certs from acme.sh, now where do they go?
# apit solves this problem by giving you a "configuration file",
#
# Two problems are solved here,
# * Prevent typing exorbitantly long commands and making common mistakes
# * Properly specify user/group for the certs