Forked from ontheklaud/install-custom-rootca-on-qnap.sh
Created
February 2, 2024 14:09
-
-
Save icy/5ad9244709a079b66a6a4a0d4f26fe5a to your computer and use it in GitHub Desktop.
Installation of custom Root CA Certificate on QNAP (Debian)
This file contains hidden or 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
# Tested on QNAP TVS-1282T3 | |
# connect to NAS thru SSH (ssh -p <port> admin@<NAS IP>) | |
ROOTCA=<custom-rootca>.crt | |
cp /share/NFSv\=4/<somewhere>/<custom-rootca>.crt /usr/certs | |
ln -s /usr/certs/$ROOTCA /usr/certs/`openssl x509 -hash -noout -in /usr/certs/$ROOTCA`.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment