Skip to content

Instantly share code, notes, and snippets.

View ClementNoiville's full-sized avatar

Clément Noiville ClementNoiville

View GitHub Profile
@SamEureka
SamEureka / README.md
Last active June 26, 2024 10:42
Install Let's Encrypt certs on TrueNAS Core or SCALE using ACME.sh deploy hooks

Install Let's Encrypt certs on TrueNAS Core or SCALE using ACME.sh deploy hooks

This information was spread out on several forum posts, blogs, wikis... etc. This gist is intended to collect all that information in one place so I don't have to dig it all up again. If you find it useful please leave a comment.

pre reqs

  • You need to have a working install of TrueNAS Core or SCALE. (I prefer SCALE... it is just better)
  • All of the following commands are performed in the shell on the NAS. (zsh is my prefered shell, these will work in bash)
  • You need an api key from your DNS provider (my example is Digital Ocean) and an api key for your NAS. See official documentation for instructions on generating. (not in the scope of this gist)
  • Your own domain

Install ACME.sh (one of the best scripts ever written)