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
BedrockMission!

Learn More

View all

Sign in to view all badges

Using web service on HTTPS self-signed certificate

Avatar

Avatar
Level 1
Raanan_Zvi
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
Raanan_Zvi
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
Raanan_Zvi
Level 1

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

Avatar

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Stere0
Level 1

01-03-2011

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

Avatar

Avatar
Validate 1
Level 1
ecchuckles
Level 1

Like

1 like

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
ecchuckles
Level 1

Like

1 like

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
ecchuckles
Level 1

01-03-2011

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

jre/lib/security dir

Avatar

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Stere0
Level 1

01-03-2011

Thx for the quick response.

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

Avatar

Avatar
Validate 1
Level 1
ecchuckles
Level 1

Like

1 like

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
ecchuckles
Level 1

Like

1 like

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
ecchuckles
Level 1

01-03-2011

Try this and the default password for cacerts is changeit

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

Avatar

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Stere0
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Stere0
Level 1

01-03-2011

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