Flex :: Bypass Or Detect SSL Certificate Before The Message Is Shown In Adobe AIR?
Nov 1, 2010
"The SSL Certificate is not trusted." dialog occurs in Adobe AIR application. How can I detect this situation before it happens? (Actually I want my app to bypass the warning...) check the following code:
[Code]...
View 1 Replies
Similar Posts:
Jan 2, 2012
I nedd to create a self signed certificate for my desktop app. What do I need to enter in these fields?
Organization unit
Organization name
Does Organization means my agency's name?
View 2 Replies
Dec 16, 2010
I have a demo application using Adobe Air that accesses my own SSL web service that uses a self-signed certificate. In .NET clients, I can explicitly handle (and ignore) certificate warnings and suppress them via the ServicePointManager.ServerCertificateValidationCallback. I've examined the URLRequest and URLLoader classes but haven't found anything.
View 1 Replies
Jul 19, 2011
An Adobe FLEX 4 object loads from a webpage and runs in the browser. The connection between browser and server is secured using SSL over HTTP (HTTPS) with a secure certificate from a valid Certificate Authority.
Can FLEX code read the secure certificate information and retrieve information such as to whome the certificate was issued, when it is valid, and for what domain it was issued, etc. ?
View 1 Replies
Apr 23, 2010
Is it possible for an Adobe AIR application to connect to a remove webservice that does not expose a cross-domain.xml file? If so, how do you configure the security sandbox within Air to allow this?
I have attempted a socket connection and received the following error:
[Code]...
View 1 Replies
Jul 15, 2009
I need to detect if running in ADL or not, I can't seem to fine an answer that is guaranteed...I found a couple posts online that say "this might work..." Is there a reliable way to check?
View 1 Replies
Nov 13, 2010
Using Adobe AIR + related technologies, is it possible to detect the URL of the active tab/window of the active browser?
For instance, if my user is surfing in IE8 on [URL]... can I retrieve that data for use in my Adobe AIR RIA?
View 1 Replies
Sep 27, 2010
Screen class in actionscript provides the latest total screen bounds and available screen bound, but doesn't allow to attach listener to listen for changes on runtime.
is there any way of detecting screen resolution changes on runtime, it is required to size the application whenever screen resolution is changed. e.g. in case when machine display is connected to projector/high resolution monitor and then switched back to normal.
View 1 Replies
Nov 3, 2010
I have created an advent calendar for the blog of a friend, and to fetch/get/download the gifts of each day, the flash animation requests a file located at [URL].While creating the file in Flash CS4 and trying it out, I never got the error. But when I try to launch the .swf manually, I get this error: Adobe Flash Player has stopped a potentially unsafe operation. The following local application on your computer or network:
C:locationfile.swf
is trying to communicate with this Internet-enabled location:
[URL]
To let this aplication communicate with the Internet, click Settings. You must restart the application after changing your settings.Is there any way to bypass this, or any other method I can use to stop this error from showing?
View 4 Replies
Dec 30, 2009
How do I make my flash website detect if someone tries to view my website using an iphone?My need is to display a message for iphone users.
View 1 Replies
Mar 23, 2011
Basically, I'm using a remote object that access to a secure EndPoint. This EndPoint is located into my server. It means that my channel is a SecureAMFChannel. If I accept the certificat by going directly to this URL with my browser, then I'm able to run my flex application and to exchange some data.However, if I'dont go to this url to accept the server's certificat, and launch my Flex application, the remoteObject is not able to accept the certificat. And of course, any information can be exchanged.
My problem is, how to accept automatically a certificat in a Flex application.Do I need to configure something to accept it? Maybe my manipulation is not correct. my certificat is self-signed, do you think that this problem could be solved by buying a Certificat signed by a CA?
View 1 Replies
Nov 25, 2009
How do I generate a self-signed certificate to sign an adobe AIR app? I'm using the maven flexmojos plugin. I've followed an openssl tutorial to generate a .p12, but now the mvn plugin /adt compiler is telling me that the certificate is not a X509 certificate.
View 1 Replies
Sep 14, 2010
Is their a built-in way to show a message box in adobe air.I'm using air with the Flash IDE BTW.
View 1 Replies
Oct 22, 2009
In our flex/air application we are calling a web service over https.The web service is java based and has, at the moment, an untrusted certificate.When doing a POST to the service with some json, the payload on the server side is pretty garbled.A popup does occur asking whether you want to continue and even when I do and add the untrusted certificate into my keychain (on the mac), the data sent through always comes through mangled.I installed charles http proxy to see the actual traffic and it seems at times I'm getting a SSLHandshakeException back...I'm guessing this is causing the garbled data as ssl isn't being setup properly.
View 1 Replies
Nov 2, 2011
I'm trying to connect to AMFPHP over SSL (self-signed) from a Flex 4.5 application.Will this work? Or do I need an authority-signed certificate?Will it silently fail or prompt user like it does in browser?How do I need to edit the services-config.xml file for this to work?
View 1 Replies
Feb 9, 2012
I need to get some SSL information (such as the 'issued by' parameter and so on). I know you can get the certificate status with a recent Adobe addition (secureSocket.serverCertificateStatus) but i need to know as much as possible about the certificate and hence my question.
View 1 Replies
Mar 9, 2011
I have a flex app hosted on a windows server running IIS. That same server has some rest services that the app interacts with. The rest services have windows authentication so that their urls cannot be called without credentials. The flex app needs to be accessible to the public so its files are accessed by enabling anonymous access. The problem is of course that when the app tries to call the rest services the browser pops a dialog box asking for windows username and pass. I naively hoped that if I set the anonymous access on the flex site to use the credentials of a windows account that had permission to view the rest services that would resolve the matter. I hoped that IIS would see the browser used the proper creds to view the flex app and use those same creds to get the rest services. Wrong, that didn't work.
So is what I want impossible? I'd like to find a way to not force the user to enter windows creds, keep the rest services using windows authentication, and have the flex app able to access the rest urls. Any ideas? Am I missing something? Also, it may turn out that the flex app is running on http and the rest services must be called with https. Does that change your answer?
View 2 Replies
May 19, 2011
I'm trying to write my flex application so that it restores the user's settings when it starts up. The application has 3 data grids (only one is visible [on screen] at any time) and I simply save the state of the grids if the user ever does any resize events.Saving the state works perfectly, the problem comes when restoring. It seems that only the visible data grid gets restored properly. On all the other grids, the widths are all wrong and do not match the settings I restored from.
The problem is that, when the application starts, the data grids are not sized correctly. Each data grid takes up the full screen, but initially they are only given a very small size (ie. 200 width).Is there some way to force the data grid to resize properly when it is created? Or is it possible to know when the data grid is "maximized" I don't want to hook up to the resize event - if possible - because I would get that quite frequently, and I only want to restore the settings once.Here's the code I'm using to restore the column widths:
var grid:DataGrid = ...;
for each column ...
... parse width into width (ie. width is now "320")[code]....
The settings are saved into a database (the flex proejct is connected to JBoss). I simply save a CSV type thing with the column's name and it's width. I know this works because the one data grid that is visible when the application starts gets sized correctly.Yes, the grids use relative sizes (ie. 100%) -- I can't really change that because I want the grid to take up all available space in its container -- and I want the user to be able to resize their browser and still have it look right.Each grid is contained in its own Hbox The data grids are created when the application starts -- you can only see one of them though.They are in a tab navigator type thing, but it's creation policy is set to "all" so they can be populated with data (the population takes some time, and typically the user sits on the front grid for a little while.)
I can't put my resize stuff in the creationComplete handler because I end up with the same problem. The grid's size is like 50 right after it's created (it should be like 1000, 100% of the page width) -- and then I go to set the sizes of the columns (which are obviously > 50) and the resize does nothing
View 2 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies
Jul 18, 2011
How can I determine if someone switch to another window (say notepad) while keeping air app open behind, I was looking for a way to detect if user switch form air app to another.
View 1 Replies
Jul 8, 2009
i am working on a line chart on flex which enable me to view the progress of data according to the year. I have tried using a slider to filter but it doesn't seemed to work.
View 4 Replies
Jul 28, 2011
This code work in flash, but when i try run using adobe air 2, the enter key is not detected, but instead ctrl+enter work. how to get this work? txtTLF is TLF TEXT EDITABLE
import flash.events.TextEvent;
txtTLF.addEventListener(TextEvent.TEXT_INPUT, teclado);
function teclado(e:TextEvent):void{
[code].....
View 1 Replies
Mar 26, 2012
I need to determine which connection type a device is using. Distinguishing between WIFI and 3G doesn't seem to be a problem on iOS (using the NetworkInfo ANE) and Android (using the native NetworkInfo class) but I've got no clue how to further distinguish between a fast (3G, 4G) and slow (EDGE) connection. Is there a way to do this with Adobe Air?
View 1 Replies
May 6, 2009
Is there a way for flash to detect what files are in a certain folder online with just a URL (ie "http://example.com/files") if the .swf file is stored on the same site?
View 1 Replies
Mar 5, 2010
The below code show the labels from previously selected list?
Steps to reproduce:
Click on List AB Open the list but don't select / click any item Now click on List CD Open the list again and you see A, B as labels instead of C,D but if you click on any item then everything comes properly
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Code].....
View 1 Replies
Jan 31, 2012
Among all the options of the spark label, there is none that tells me the last character shown when the text is truncated, is there any way to accomplish this?
View 1 Replies
Aug 11, 2010
I'm using flex 4.1 to write an application and I was wondering how can I configure that whenever I try to load an image and the link is broken it will show a different image that i have embedded into my application.
View 2 Replies
Jul 6, 2011
Can we Bypass the save dialog box of FileRefernce.save()? If not, then Is there any workaround to save a file from web application in Flex without asking user where to save file?
View 1 Replies
Oct 13, 2010
I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'
View 2 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies