OpenWrt Forum Archive

Topic: Script to Auto login to ISP using HTTPS

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everyone,

Noob Alert!

My ISP requires users to login through a HTTPS webpage every 24 hours before using their services. This is becoming a pain as we have more web enabled devices coming into the house and not all of them support the login page. I am looking for ways to automate the login process  through my Buffalo WZR-HP-G300NH, and I have installed the backfire 10.3 version on openwrt on it.

The script I am using is-->      wget --post-data 'userid=yourid&password=yourpassword&act=login' https://broadband.mobileone.net.sg/login/?.intl=sg

However, I am getting the following error when I try to run this script, and I would appreciate if the forumers can help me.

Connecting to broadband.mobileone.net.sg|202.65.245.20|:443... connected.
ERROR: cannot verify broadband.mobileone.net.sg's certificate, issued by `/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at [url]https://www.verisign.com/rpa (c)09/CN=VeriSign Class 3 Secure Server CA - G2':
Unable to locally verify the issuer's authority.
To connect to broadband.mobileone.net.sg insecurely, use `--no-check-certificate'.

Guys, a little help please

Do what is being recommended by wget: use `--no-check-certificate' option

Something like this:

wget --no-check-certificate --post-data 'userid=yourid&password=yourpassword&act=login' https://broadband.mobileone.net.sg/login/?.intl=sg

The discussion might have continued from here.