Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Using web service on HTTPS self-signed certificate

Raanan_Zvi
Level 1
Level 1
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.
5 Replies
Stere0
Level 1
Level 1

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

ecchuckles
Level 2
Level 2

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

jre/lib/security dir

Stere0
Level 1
Level 1

Thx for the quick response.

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

ecchuckles
Level 2
Level 2

Try this and the default password for cacerts is changeit

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

Stere0
Level 1
Level 1

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