Stuff
This commit is contained in:
parent
91f9627a9b
commit
d6b41b5e0f
2 changed files with 60 additions and 0 deletions
21
automatic_porkbun_cert_renewal/README.md
Normal file
21
automatic_porkbun_cert_renewal/README.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Automatic Porkbun Cert Renewal
|
||||
|
||||
I'm tired of manually setting up the certs on the Nginx server every 3 months.
|
||||
|
||||
I've found this tool to do it: https://github.com/porkbundomains/certbun
|
||||
|
||||
# How to deploy
|
||||
|
||||
On navaja, clone this repo: https://github.com/porkbundomains/certbun
|
||||
|
||||
Copy the `config.json.example` into a `config.json` file.
|
||||
|
||||
Generate API keys following this: https://kb.porkbun.com/article/190-getting-started-with-the-porkbun-dns-api
|
||||
|
||||
Set the right paths for the cert files
|
||||
|
||||
For the web server reload command, I simply trigger a docker compose down and up since the Nginx is in a container.
|
||||
|
||||
Run manually once to verify it all works fine.
|
||||
|
||||
Afterwards, cron it.
|
||||
Loading…
Add table
Add a link
Reference in a new issue