5

I've developed application which communicates with my own server over HTTPS. And I use .p12 certificate for mutual authorization. The problem is that after I send first request on server I receive OSX's dialog message: enter image description here

I know that need to make code sign but:

Can I make some workaround/hack/trick to prevent it? Please note that my app is not going to go on Mac Store. So I could use any private API.

If we can't prevent this dialog then what should I do: 1. Code sign my application via Mac Developer Program? 2. Or make trusted my p12 certificate?

If need to make some of these items above please provide a quote as proof from Apple's documentation.

I use OSX 10.8 an later.

4

1 回答 1

0

对您的应用程序进行代码签名是避免此对话框的最直接方法。导入证书和私钥时,您的签名应用程序和符合其指定要求的未来版本将被授予对密钥的访问权限以用于所有目的。有关详细信息,请参阅Mac OS X 代码签名深度代码签名指南

在已经将密钥导入钥匙串的开发系统上,您可能会再看到一次授权提示,在钥匙串中还没有钥匙的系统上,根本不应该出现提示。

于 2013-08-03T21:21:19.317 回答