I have a couple of certificates provided to me by Netskope, one root certificate and one intermediate. I created a configuration profile and uploaded both certificates via the certificate payload. The root certificate installs to Keychain with the setting to "always trust," but the intermediate one installs with the setting "use system defaults". This can be easily changed in the Keychain by each user, but we want to avoid asking users to do this themselves.
I changed the setting of the intermediate certificate installed in my machine to "always trust" and exported it, then I tried uploading it to Jamf; but it doesn't upload, it returns the error: Unable to complete file upload. The file contents does not match file type. For testing purposes, I also exported the root certificate and was able to upload it to Jamf. Both are .cer type files.
I don't know much about certificates, so I'm hoping one of you sees something obvious here. The only difference that I can see is that one is a root certificate and the other one is intermediate.
Appreciate any suggestions. Thank you.