Install4j Mac OSx signing -
Install4j Mac OSx signing -
i signed single bundle installer app mac (.dmg) using developer id application certificate .p12 key file. no complain install4j 5.1.12 during build , asks me password , outputs application signed.
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 media directory c:\.. installer\installer\build name of media file mytestapp.dmg. size of media file 34.4 mb
when hosted application iis webserver client downloads , tries install gets error mac gate keeper application not safe , not allow install. when codesign -dvvv on app on mac info application signatures looks normal me. @ point have no thought why not passing gate keeper. help appreciated.
$ codesign -dvvv mytestapp.app executable=mytestapp installer.app/contents/macos/javaapplicationstub identifier=com.install4j.4414-4382-9884-2117.347 format=bundle mach-o lean (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 authorization 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
since mac os 10.9.5 need v2 signature, otherwise it's rejected gatekeeper. can see in line
sealed resources version=1 rules=4 files=20
it should "version 2" there. recompile install4j 5.1.13 or later, signature accepted.
for more info see here.
osx code-signing install4j
Comments
Post a Comment