Adobe Dreamweaver Forums



Last 10 THreads :         Why is this not working!!! (Last Post : Boxing Boom - Replies : 11 - Views : 12 )           »          CF8 Enterprise gives 500 errors (Last Post : BJFranz - Replies : 0 - Views : 1 )           »          cfimage error (Last Post : masoud_amen - Replies : 0 - Views : 1 )           »          Flash Controls Not Displaying in Embedded File (Last Post : QADesign - Replies : 4 - Views : 5 )           »          Scollbar theme (Last Post : vcorey - Replies : 0 - Views : 1 )           »          Scollbar theme (Last Post : vcorey - Replies : 0 - Views : 1 )           »          Flash CS4 constant crashes (Last Post : san_flash - Replies : 5 - Views : 6 )           »          DIV in Table not working. (Last Post : Murray *ACE* - Replies : 11 - Views : 12 )           »          navigation bar in div (Last Post : jody25 - Replies : 2 - Views : 3 )           »          Disabling menu bars in a browser window (Last Post : Jay Jay - Replies : 6 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-27-2008, 02:43 PM
sysfor
 
Posts: n/a
Diggs:
Default Sefl-signed ssl certificate not possible?

:frown; Hello everyone,

could it be that oit is not even possible to let flex' webservice or
httpservice connect to a
https webservice that is secured by a self-signed certificate? There is
absolutely no reason
for me to buy a "real" certificate just for encryption purposes.
I installed crossdomain.xml on the target server, the webservice is running
fine when pasting
the urls into the browser and I installed the certificate into IE (which I
have to use here), so
is gives no error and shows the nifty little lock in the address bar. But Flex
refuses to work,
except for running the app locally (means by clicking "run" in flex builder).
I'm using Flex 2.01 if important.

So, could anyone help me? Or is Flex just so ignorant to self-signed
webservices?

bye
sysfor



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-28-2008, 04:54 AM
Mitek17
 
Posts: n/a
Diggs:
Default Re: Sefl-signed ssl certificate not possible?

Hi sysfor,

I am using the proper SSL certs in production and self-signed in development &
testing, no problems so far.
Flex/Flash does not deal with SSL certs authentications - this task is
delegated to browser.

So I presume that you are facing a different kind of a problem - your
crossdomain.xml is not setup properly.
Have you checked the policyfiles.txt log?
Another point, you are probably doing the calls on direct URLS
(https://myhost/path). Instead you should use a relative path. I.e. if your swf
was downloaded from server myhost, then it should simply do the calls to
../path.

Cheers,
Dmitri.






Reply With Quote
  #3 (permalink)  
Old 12-02-2008, 12:54 PM
sysfor
 
Posts: n/a
Diggs:
Default Re: Sefl-signed ssl certificate not possible?

Hi Mitek17,

thanks a lot for your answer, it pointed the way to the right solution
In fact, my problem was the crossdomain.xml policy, but I did not know
about the use of policyfiles.txt before.
My mistake was to set "secure='true'" in the "allow-access-from" tag,
although my flex app was server unsecured, so I got this error.
Addidionally, I can't use relative URLs because my app and my service
reside on different subdomains, but that doen't seem to harm here.

Anyway, thanks again for your answer
sys


Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk