Link to home
Start Free TrialLog in
Avatar of Angus
AngusFlag for United Kingdom of Great Britain and Northern Ireland

asked on

URGENT - Keystore & Certificates

I am developing an application using Jbuilder9 Enterprise and the application needs to read from a https://... site.

For this I am finding out that I need to setup a certificate, keystore etc..

However I am getting increasingly frustrated by the complexity of this.

Can some please kindly explain to me the exact steps that are needed to install a certificate (free) allowing me to create a browser to https:// site.

At the moment I am getting the following error message:
java.security.cert.CertificateException: CA certificate does not include basic constraints extension

I am really looking for an idiot proof guide/directions.

Thanks
Angus
Avatar of a122178
a122178

I believe the problem is in your web server. So what kind of web server are you running?
Avatar of Angus

ASKER


I am not using a web server.  I am just downloading from a https:// site.. here is my code

   HttpClient httpclient = new HttpClient();
    GetMethod httpget = new GetMethod("https://www.verisign.com/");
    try {
      httpclient.executeMethod(httpget);
      System.out.println(httpget.getStatusLine());
    }
      catch (Exception exe)
      {
        exe.printStackTrace();
      }
    finally {
      httpget.releaseConnection();
    }
ASKER CERTIFIED SOLUTION
Avatar of a122178
a122178

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Angus

ASKER

I have been battling with this all day

THANKS!!!! THANKS!!!! THANKS!!!! THANKS!!!! THANKS!!!!
You welcome.
Have a good Friday!