000022506 - How to resolve SMT_E_CALL_FAILED error from SmtSession_ImportCert for a particular certificate

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000022506
Applies ToRSA BSAFE S/MIME-C 2.0
The certificate binary that is given to SmtSession_ImportCert is a binary BER-encoded X.509 certificate
The SmtSession_ImportCert routine in RSA BSAFE S/MIME-C expects the cert to be contained in a PKCS #7 signed data message (commonly known as a certs-only message)
IssueHow to resolve SMT_E_CALL_FAILED error from SmtSession_ImportCert for a particular certificate
ResolutionOne solution is to obtain RSA BSAFE Cert-C and use the certsonly.c sample program in Cert-C to wrap the cert binary in a PKCS #7 signed data message. Also consider using Cert-C instead of S/MIME-C, since Cert-C does allow you to create PKCS #7 messages and base-64 encode/decode data.
Legacy Article IDa6882

Attachments

    Outcomes