在Mac OS X 10.9签名的
Java Web Start应用程序默认阻止该消息:
"application.jnlp" can't be opened because it is from an unidentified developer.
我知道有可能削弱安全检查以允许任何应用程序运行,但这需要最终用户的手动干预.
可以“签署”Java Web Start应用程序,以便将其识别为来自已识别的开发人员?
谢谢
解决方法
苹果似乎支持签署webstart,但不直接.你必须将其捆绑在档案中.请参阅
this页底部的注释:
You can use the codesign utility to sign the JNLP file,which will attach the code signature to the JNLP file as extended attributes. To preserve these attributes,package the JNLP file in a ZIP,XIP,or DMG file. Be careful using the ZIP format,as some third-party tools might not capture the required extended attributes correctly.
Important: Starting with macOS Sierra,only XIP archives signed by Apple will be expanded. Developers who have been using XIP archives will need to move to using signed installer packages or disk images.