Skip to content

Instantly share code, notes, and snippets.

@DocEmmetBrown
Created October 1, 2021 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DocEmmetBrown/c809b9cd60c0fa57bb8e1a9e408b6987 to your computer and use it in GitHub Desktop.
Save DocEmmetBrown/c809b9cd60c0fa57bb8e1a9e408b6987 to your computer and use it in GitHub Desktop.
Update Root certs on Qnap
cd /share/
mkdir certs
cd certs
curl https://letsencrypt.org/certs/lets-encrypt-r3.pem -k -O
curl https://letsencrypt.org/certs/isrgrootx1.pem -k -O
for filename in *.pem;do mv $filename `openssl x509 -hash -noout -in $filename`.0; done;
cp *.0 /etc/ssl/certs/
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment