Hoping someone here can help...
I have installed this package, but I am not able to add any configs. In SSH, I see this error:
Error: Post "
https://api.idrivee2.com/api/service/get_region_end_point": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-03-11T15:21:13-07:00 is after 2021-09-30T14:01:15Z
I am on a TVS-871 with firmware 4.5.1.1465 (from 10/24/2020). I have some specific reasons not to update the firmware, so I hope that's not a potential cause.
My guess is that this has to do with a certificate on the QNAP that's expired, but I'm not sure where/what that would be. I checked in Control Panel --> Security --> Certificate & Private Key. I see this information...
Status: default secure certificate being used
Issued by: QNAP Systems, Inc.
Alternative name: --
Expires on: 2026.3.9
Assuming the above is only relevant for SSL connections to the QNAP and that I could install a self-signed or externally-signed cert there.
EDIT:
If anyone else runs into this, the issue is that QNAP never updates it's ca/intermediate certificates, so at least one of them had reached its expiration. The below commands were adjusted slightly to function properly from here:
https://www.andreadraghetti.it/install-root-intermediate-certificate-bundles-on-qnap/
*******************************
cd /share/
curl --silent --location --remote-name --insecure
https://curl.haxx.se/ca/cacert.pem
mkdir certs
cat cacert.pem | awk 'split_after==1{n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {if(length($0) > 0) print > "certs/cert" n ".pem"}'
cd certs
for filename in cert*pem;do mv $filename `openssl x509 -hash -noout -in $filename`.0; done;
cp *.0 /etc/ssl/certs/
*******************************