Have you tried pushing it out directly from JAMF? In Configuration Profiles, you can make a profile and install a certificate. Scope it out to the Macs and it should install it for you from JAMF. There are Bash scripts out there to install a cert, but you would need to transfer a copy of the cert to each Mac, and then install it, and set it to trusted. Which can be done.
@Raj_Jenkin As of macOS Big Sur you can't do a scripted install of a certificate to the System keychain without triggering a user authentication prompt. Pushing a certificate as a computer level Configuration Profile works without that prompt.