开发者

Connectivity and signed-applications in Adobe AIR

开发者 https://www.devze.com 2023-01-08 12:35 出处:网络
I need a little insight into some authentication issues in adobe AIR. Three related fact开发者_JS百科s that fit into my question:

I need a little insight into some authentication issues in adobe AIR. Three related fact开发者_JS百科s that fit into my question:

  1. Whenever accessing my https:// site from my AIR application, I get the untrusted site warning
  2. When I build an AIR app, I don't have a paid-for certificate, so I sign it myself for now
  3. My site (that gives the untrusted warning when I access it inside the AIR app) does have a paid-for certificate (issuer Comodo - via DreamHost)

I'm not quite sure what the most reasonable solution to this is. So I have a couple tightly-coupled questions, and I'm not sure which one or several are applicable. They might be the same thing, or they might be separate. But I would love to have some light shed on this.

  1. Is Comodo just not a "good enough / approved" CA issuer for Adobe, and that's why it complains?
  2. Is there any way around this? Something I can put in my crossdomain.xml or something?
  3. Can I use my CA cert that I have already paid for, to sign the AIR apps?
  4. If 3 is true, will what I have work or will it only work with a different issuer?

Can someone explain the difference, if any, between the certificate used to sign the AIR apps, and the certificate used to do the SSL authentication, and if I can reuse what I have?


Does your browser see the certificate as valid when you navigate to it?

There is no reason why AIR should be complaining about your website certificate. It looks like it might be worth checking your JRE proxy settings, according to the Adobe docs:

ADT uses the Java runtime environment proxy settings, when appropriate, for connecting to Internet resources for checking certificate revocation lists and obtaining time-stamps. If you encounter problems connecting to Internet resources when using ADT and your network requires specific proxy settings, you may need to configure the JRE proxy settings

Having said that, I've never run into issues with the JRE proxy settings. If AIR does see the certificate as invalid, there is no way around it (except to install the certificate onto the machine).

If that's the case, you'd want to talk to either Comodo or Adobe about the problem.

Can someone explain the difference, if any, between the certificate used to sign the AIR apps, and the certificate used to do the SSL authentication, and if I can reuse what I have?

You'll need to generate a code signing certificate as they include the Extended Key Usage extension, which basically describes the certificate as a "code signing certificate".

You won't be able to reuse your website certificate, but your subscription to Comodo might allow you to generate a code signing cert.

0

精彩评论

暂无评论...
验证码 换一张
取 消