Thanks for all the input.
Conclusion:
From macOS 15, SecPKCS12Import API supports import for pfx certificates with modern algos (especially SHA256 for MAC in this case)
For macOS <15, the only ways to achieve this, is to convert the pfx cert to a legacy format (sample code linked in first message) or implement your own pkcs#12 parsing algo.
Follow-up Question:
Are there any native API's (under Security.framework) that can achieve the pfx cert conversion to legacy format as done in the sample code I have shared? If so, I would highly appreciate if you can share references or sample code to achieve the same.
[quote='835417022, DTS Engineer, /thread/779466?answerId=835417022#835417022']
I recommend that you file a bug against the tool.
Please post your bug number, just for the record.
[/quote]
Bug filed. Ref: FB17330275
Topic:
Privacy & Security
SubTopic:
General
Tags: