Created
October 1, 2021 17:29
-
-
Save DocEmmetBrown/c809b9cd60c0fa57bb8e1a9e408b6987 to your computer and use it in GitHub Desktop.
Update Root certs on Qnap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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