Highlighted

Using web service on HTTPS self-signed certificate

Avatar

Avatar

Raanan_Zvi

Avatar

Raanan_Zvi

Raanan_Zvi

12-10-2008

In my project I need to connect to an intra-net web service
but we need SSL connection between the two machines.

Because this is an intra-net site the certificate of the web
service might be a self-signed certificate.

The web service and the web page that loads my Flex
application resides on the same web server (tomcat) so when I load
the web page of the application with HTTPS I been asked to confirm
the certificate, I confirm it but this confirmation does not apply
on the Flex application (on Internet Explorer and Firefox).

I tried Google's Chrome and it actually asked me twice for
confirmation, one for the web page and one for the connection to
the web service so it worked great.



Is there a way to tell Flash player to accept also
self-signed certificates of is it entirely concern the browser and
Adobe guys can't do nothing about it?

In other words, is there a way to connect to a self-signed
certificates HTTPS web services from Adobe Flex???



Thanks.

Replies

Highlighted

Avatar

Avatar

Stere0

Avatar

Stere0

Stere0

01-03-2011

Hey I have a similar problem with using a self signed certificate. Did you find a work around to using one?

Highlighted

Avatar

Avatar

ecchuckles

Avatar

ecchuckles

ecchuckles

01-03-2011

Try importing your cert into the cacerts used by the jvm usually under the

jre/lib/security dir

Highlighted

Avatar

Avatar

Stere0

Avatar

Stere0

Stere0

01-03-2011

Thx for the quick response.

I found the cacerts how would u import the cert into the cacerts?

Highlighted

Avatar

Avatar

ecchuckles

Avatar

ecchuckles

ecchuckles

01-03-2011

Try this and the default password for cacerts is changeit

Keytool -import -trustcacerts -alias root -file Thawte.crt -keystore cacerts

Highlighted

Avatar

Avatar

Stere0

Avatar

Stere0

Stere0

01-03-2011

Thx for the help but it didnt work. I think im going to have to go get a signed cert.