RUTX11 has expired certificate

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

Hello
For this one, could you kindly refer to this guide which explains this sort of error step by step
Removing of HTTPS security warning - Teltonika Networks Wiki (teltonika-networks.com)

Best Regards

I followed the guide and now have a new SSL certificate.

The next issue related to RFC1918 was solved by disabling RFC protection:

Rejected request from RFC1918 IP to public server address

I haven’t solved the latest issue:

SSL certificate problem: unable to get local issuer certificate

Hello

Could you login to the router via CLI/SSH and execute the following commands:

rm /etc/uhttpd.crt
rm /etc/uhttpd.key 
/etc/init.d/uhttpd restart

See if that resolves the issue.

Best regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.