Re-enable http on 7.12.x device

Upgraded my RUTX11 from 7.11.3 to 7.12.3. After reboot, the device had replaced previous existing certificate and also disabled http. After some struggle I managed to upload a new certificate and key, but after switching to them I cannot connect at all. I get the following message “x.x.x.x normally uses encryption to protect your information. When Chrome tried to connect to x.x.x.x this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be x.x.x.x or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Chrome stopped the connection before any data was exchanged.
You cannot visit x.x.x.x at the moment because the website sent scrambled credentials that Chrome cannot process. Network errors and attacks are usually temporary, so this page will probably work later.”

Seems like the GUI accepts certificate files even if it cannot interpret them correctly…

At the moment I can only connect to device with SSH. Please advice how I can disable the stupid http->redirect so I can manage the device again.

/A

Hello,

If HTTP access is currently disabled and you want to disable the default HTTPS redirection, you can achieve this by executing the following command through SSH:

uci set uhttpd.main.enable_http='1'  
uci set uhttpd.main.redirect_https='0'  
uci commit uhttpd  
/etc/init.d/uhttpd restart  

After running these commands, HTTP access should be restored, allowing you to manage the device again.

Additionally, could you please confirm what server certificate and key you uploaded? Were they created on the router itself (via System → Administration → Certificates) or generated manually?

Let me know if you need any further assistance.

Best regards,