2014-10-07 5 views
1

개발자 ID 응용 프로그램 인증서 .p12 키 파일을 사용하여 Mac 용 단일 번들 설치 프로그램 (.dmg)에 서명했습니다. 빌드 도중 install4j 5.1.12에서 불평을하지 않고 패스워드를 물어보고 그 어플리케이션에 서명했습니다. 는 IIS 웹 서버에서 클라이언트 다운로드를 해당 응용 프로그램을 호스팅 및 응용 프로그램이 안전하지 않습니다 그리고 그것을 설치하지 않는 것이 그가 맥 게이트 키퍼에서 오류를 가져옵니다 설치하려고Install4j Mac OSx 서명

Creating media file 'Mac OS X Single Bundle': 
    Collecting files: 
    Compiling launchers: 
    Compiling launcher 'MyTestApp': 
     Generating VM options file vmoptions.txt. 
    Creating media file: 
    Zipping custom code & resources JAR file 
    Identifying components 
    Adding JRE (macosx-amd64-1.7.0_65) 
    Shrinking runtime 
    Compressing files 
    Applying LZMA compression 
    Generating VM options file vmoptions.txt. 
    Signing installer 
    Moving media files to media directory C:\.. 
    Installer\Installer\Build 
    The name of the media file is MyTestApp.dmg. 
    The size of the media file is 34.4 MB 

. Mac의 응용 프로그램에서 codesign -dvvv를 실행하면 나에게 정상적인 응용 프로그램 서명에 대한 정보를 얻을 수 있습니다. 이 시점에서 게이트 키퍼를 통과하지 못하는 이유는 알 수 없습니다. 어떤 도움을 주시면 감사하겠습니다.

$ codesign -dvvv MyTestApp.app 
Executable=MyTestApp 
Installer.app/Contents/MacOS/JavaApplicationStub 
Identifier=com.install4j.4414-4382-9884-2117.347 
Format=bundle with Mach-O thin (x86_64) 
CodeDirectory v=20100 size=626 flags=0x0(none) hashes=24+3 location=embedded 
Hash type=sha1 size=20 
CDHash=27fe7393db936790d050c78d09bb9a6e489f10d6 
Signature size=4241 
Authority=Developer ID Application: Zee, Inc. (KZ254T2RPN) 
Authority=Developer ID Certification Authority 
Authority=Apple Root CA 
Signed Time=Sep 16, 2014, 2:25:12 PM 
Info.plist entries=25 
TeamIdentifier=not set 
Sealed Resources version=1 rules=4 files=20 
Internal requirements count=1 size=36 

답변

3

Mac OS 10.9.5부터 v2 서명이 필요합니다. 그렇지 않으면 게이트 키퍼에서 거부됩니다. 그 줄에서 볼 수 있습니다

Sealed Resources version=1 rules=4 files=20 

"버전 2"라고 표시되어 있습니다. install4j 5.1.13 이상으로 다시 컴파일하면 서명이 승인됩니다.

자세한 내용은 here을 참조하십시오.

+0

도움 주셔서 감사합니다! – user2895359

0

예, 버전 6.x로 업그레이드하여 OSX 10.10의 서명 문제를 해결했습니다.