SecureBlackbox 16: After I export a certificate to a PFX file, Windows (or CryptoAPI) cannot import this file. What happens?
Please check what algorithms you specify in a call to the SaveTo*PFX() method. The Windows CryptoAPI understands only SB_ALGORITHM_PBE_SHA1_3DES and SB_ALGORITHM_PBE_SHA1_RC2_40 password-based key derivation algorithms. In order to make the PFX readable by Windows, use SB_ALGORITHM_PBE_SHA1_3DES to encrypt the private key and SB_ALGORITHM_PBE_SHA1_RC2_40 to encrypt the certificate.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.