I am having the same problem. I test opening the p12 file on a windows computer and the password works. But on MacOs its showing wrong password.
In the same boat with wrong password on MacOS.
So I did a test with Firefox and I can import the certificate with the password in Firefox so the password is correct.
"If you have Firefox installed on your Apple Mac, then you could launch Firefox ---> preferences --> Privacy & Security (scroll down to "Security" section) --> click "View Certificates" --> select "Your Certificates" --> then click "Import" (select your p.12 file)"
Update:
So in Firefox I select the Certificate (see above) and then click on Backup, then give the certificate the same name (different location) and when it ask for an password I give it the same password I used in Jamf (at Device management) (use the .p12 name) import this in keychain with the password and it works.. Certificate is in the keychain - The only thing I need to do is at Trust "When using this certificate -> Always trust" -> need to test it Apple Configurator to be continued
I try above with but I did not select Always Trust but it seems to work now.
Just tried this with Firefox 123.0 and Jamf Pro 11.2.1 and I get an error in FF "Failed to create the PKCS #12 backup file for unknown reasons."
So I did a test with Firefox and I can import the certificate with the password in Firefox so the password is correct.
"If you have Firefox installed on your Apple Mac, then you could launch Firefox ---> preferences --> Privacy & Security (scroll down to "Security" section) --> click "View Certificates" --> select "Your Certificates" --> then click "Import" (select your p.12 file)"
Great worked for me after following your instruction and appending the .p12 name. Thanks!