I'm trying to log into my school's grade page. So that I can have my program retrieve my current grades. The login page is https://portal.hinsdale86.org/homeaccess , and I have some basic code that first sends a GET to the page. However the program terminates after the SSL error.
BasicCookieStore cookieStore = new BasicCookieStore();
CloseableHttpClient httpclient = HttpClients.custom()
.setDefaultCookieStore(cookieStore)
.build();
HttpGet httpget = new HttpGet("https://portal.hinsdale86.org/homeaccess");
CloseableHttpResponse response1 = httpclient.execute(httpget);
That last line is where is error occurs.
So basically what I don't understand is why there is an SSL error, where no SSL is involved.
edit: I appears that I do not get an error when I use the http version of the site. However I would like to use the https version if possible. It does have a trusted certificate from Go Daddy as per what chrome says.