If anyone runs into this when trying to install the Nessus Agent with Jamf Pro:
Installation failed. The installer reported: installer: Package name is Tenable Nessus Agent installer: Certificate used to sign package is not trusted. Use --allow Untrusted to overwrite.
I have a fix. Thanks to Bartłomiej Sojka for pointing out that it's a hard link, and suggesting the solution.
It’s the package downloaded directly from the vendor https://www.tenable.com/downloads/nessus-agents, in the section Nessus Agents - 7.4.3, NessusAgent-7.4.3.dmg
I think the visible package in the disk image is actually a hard link to a hidden package in the disk image, named .NessusAgent.pkg.
I have no idea why.
Here is me using “ls -la” to get a long listing of all the files, even hidden files, in the disk image:
MacBookPro:Nessus Agent Install ladmin$ ls -la total 28120 drwxr-xr-x 5 ladmin staff 238 Sep 10 16:11 . drwxr-xr-x+ 4 root wheel 128 Oct 31 19:55 .. -rw-r--r-- 1 ladmin staff 14357839 Sep 10 16:11 .NessusAgent.pkg d-wx-wx-wt 2 ladmin staff 68 Sep 10 16:11 .Trashes -rw-r--r-- 1 ladmin staff 34145 Sep 10 16:11 Install Nessus Agent.pkg
That “14357839” is the size of the hidden package - it’s much bigger than the visible package.
The good news is that the fix is to copy the hidden item to your Downloads folder (as an example), then upload that package to Jamf Pro:
Open the disk image
In Terminal, use the command:
cp /Volumes/Nessus Agent Install/.NessusAgent.pkg ~/Downloads/Install Nessus Agent.pkg
Eject the disk image
Upload ~/Downloads/Install Nessus Agent.pkg to Jamf Pro


