We have requested for Developer ID Application Certificate. Exported the certificate and private key as .p12 extension and imported into the Mac Keychain tool where the install4j 5.1.1 app is installed. Also placed the Developer ID Application certificate .cer extension file which is exported along with the private key to /resources/macos/certs under the install4j installation folder.
Restarted the install4j app and build the project to create executable with macos signed with Developer ID application certificate. The dmg file mounted directly on the system doesnt provide any error. But when downloaded from browser after uploading the same file in server, Gatekeeper shows a warning "DMG file is damaged".
Could you please advise some solution?
Different post are suggesting different solution but not a clear solution.
codesign -vv [installer.dmg]to check for errors in the signature. Also, please update to the latest 5.1.x release. - Ingo Kegelcodesign -vv [AppName] Installer.appthere. - Ingo Kegel