Cannot import .pfx certificate

Hey, I would like to add . pfx certificate to Keychain but it still throws a warning about the wrong password. The password is correct, I use the same certificate on a Windows PC. After I guess the third incorrect password it throws a different error MAC VERIFICATION FAILED DURING PKCS12 IMPORT.


Do you know what to do with it?

MacBook Air, macOS 13.2

Posted on Mar 21, 2023 03:31 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 21, 2023 04:47 PM

Best answer By:

James Brickley 

James Brickley

User level:

 Level 4

3,958 points

OpenSSL 3.x changed the default algorithm and it's not compatible with macOS SSL libraries which are no longer staying current with OpenSSL due to breaking changes such as this. 


Fortunately, OpenSSL added a -legacy flag to revert to the previous algorithm. Add the -legacy flag after your -export flag parameter in your openssl command string. 


The alternative is to downgrade openssl to 1.x 

Posted on Jan 3, 2023 7:02 AM

Similar questions

1 reply
Question marked as Top-ranking reply

Mar 21, 2023 04:47 PM in response to vp116

Best answer By:

James Brickley 

James Brickley

User level:

 Level 4

3,958 points

OpenSSL 3.x changed the default algorithm and it's not compatible with macOS SSL libraries which are no longer staying current with OpenSSL due to breaking changes such as this. 


Fortunately, OpenSSL added a -legacy flag to revert to the previous algorithm. Add the -legacy flag after your -export flag parameter in your openssl command string. 


The alternative is to downgrade openssl to 1.x 

Posted on Jan 3, 2023 7:02 AM

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot import .pfx certificate

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.