I have been using the Mobile Utilities on the RUTX11, specifically the Post/Get API.
This works fine from a browser but doesn’t work from a ssh terminal. It appears the certificate has expired:
depth=0 C = LT, ST = Vilnius, L = Vilnius, O = Teltonika8f8b4008, CN = Teltonika
verify error:num=10:certificate has expired
notAfter=Aug 31 22:21:24 2023 GMT
verify return:1
depth=0 C = LT, ST = Vilnius, L = Vilnius, O = Teltonika8f8b4008, CN = Teltonika
notAfter=Aug 31 22:21:24 2023 GMT
verify return:1
How do I go about fixing this?
I tried generating new certificates using the WebUI → System → Administration → Certificates, with the ‘Simple’ type. Now I have new certificates (ca.cert.pem, server.cert.pem, client.cert.pem) and their respective keys. What do I do with these? I tried copying them on to my device and placing them into the /usr/local/share/ca-certificates/
and running sudo update-ca-certificates
, but the issue remains.
For reference, the expiry date Aug 31 22:21:24 2023 GMT
is present in the /etc/uhttpd.crt file on the router:
230831222124Z0a1
Firmware version: RUTX_R_00.07.06.1
Cheers