Package could not be verified - Sophos Central

emmav
New Contributor

Hello,

I'm stumped with an issue I'm having with a package I'm creating with Composer.

I'm creating a Sophos Central package which drops the installation files into /private/tmp, then runs a postinstall shell script which creates some plists, then calls the installer within the Sophos app.

The package runs independently but as soon as it's uploaded to Casper and run via Remote it fails with the error "Package could not be verified".

A while back I managed to create a Sophos Central installation package (created in exactly the same way as the above), which works when deployed via remote/policies, but any subsequent package (and any edits to the original package) fail.

Anyone have any sage advice?

Many thanks,
Emma

5 REPLIES 5

Nix4Life
Valued Contributor

@emmav how are you signing the packages?

emmav
New Contributor

Hi Nix4Life,

How do I go about signing the package in Composer?

Many thanks,
Emma

Nix4Life
Valued Contributor

@emmav apologies for the late reply got busy, then JUG. You will need a developer account with Apple. Once that's setup and you have the cert downloaded to your build computer,Open Composer, choose Preferences, then tick the box for Sign With and navigate to your cert.

a417ab3273e8489ead7b0e644577fd23

Apple Developer can be individual or company
Creating a Developer Certificate
Creating Signing IDs

emmav
New Contributor

Hi Nix4Life

Aha! That's perfect, thanks so much!

I'll give it a go and let you know if it did the trick.

Cheers,
Emma

emmav
New Contributor

@Nix4Life Just wanted to thank you for your quick response. What you suggested resolved the issue. Thank you!