Which SSL self-signing certificate?
Which SSL self-signing certificate?
Author
Discussion

dern

Original Poster:

14,055 posts

310 months

Friday 19th October 2007
quotequote all
I'm using IE and there are many certificates installed for various sites. Is there any way I can determine which of these certificates is being used for a particular site? I'd normally just delete them all and see which one was reinstantiated but I don't have admin rights to do this. I also can't simply install another browser and use that to determine which certificate because there are no other browsers on our approved software list.

I'm writing a java http client app (using the jakarta httpclient lib) and am getting an ssl certificate error so I need to get the certificate and add it to my keystore but I just need to know which one.

I realise I could simply ask them but it's not quite as simple as that.

Any ideas on a tool I can use or some way I can read the certificate required from the headers?

Thanks,

Mark

SlidingSideways

1,345 posts

263 months

Friday 19th October 2007
quotequote all
The certificates installed in IE are the root "signer" certificates issued by Thawte, Verisign etc... used to sign the SSL certificates handed out to their customers. Don't delete these as they'll not simply be downloaded again when you visit the sites they're used for.

Is your java app connecting to a site you've created a self signed certificate for, or one which is protected via a comercial SSL certificate?

dern

Original Poster:

14,055 posts

310 months

Friday 19th October 2007
quotequote all
SlidingSideways said:
Is your java app connecting to a site you've created a self signed certificate for, or one which is protected via a comercial SSL certificate?
The latter.

SlidingSideways

1,345 posts

263 months

Friday 19th October 2007
quotequote all
In IE, visit the site. Click/Double-click* on the padlock icon that appears in the address/status* bar to get the certificate details. Click on the "certification path" tab and that will show you which certificates it's been signed by.
You should be able to download the root certificates from the suppliers website and then add them into your keystore. Just make sure you're adding them to the correct keystore if you have multiple JVM's installed.

  • Depending on version of

dern

Original Poster:

14,055 posts

310 months

Friday 19th October 2007
quotequote all
SlidingSideways said:
In IE, visit the site. Click/Double-click* on the padlock icon that appears in the address/status* bar to get the certificate details. Click on the "certification path" tab and that will show you which certificates it's been signed by.
You should be able to download the root certificates from the suppliers website and then add them into your keystore. Just make sure you're adding them to the correct keystore if you have multiple JVM's installed.

  • Depending on version of
Superb, exactly what I was after, thanks. The required certificate was not in the jdk1.4 keystore (we're having to use the 1.4 jdk) but was in the 1.5 jre one preinstalled on the pc so after I pointed to that it worked fine.

Thanks very much.

Regards,

Mark