Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Using web service on HTTPS self-signed certificate

Avatar

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

Avatar

Former Community Member

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

Avatar

Former Community Member

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

jre/lib/security dir

Avatar

Former Community Member

Thx for the quick response.

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

Avatar

Former Community Member

Try this and the default password for cacerts is changeit

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

Avatar

Former Community Member

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