Envelope a message for another user when the current user (current session) does not have a registered keypair
Originally Published: 2001-04-25
Last Modified: 2023-10-06
Article Number
Applies To
The following steps were performed:
1. Start a new session without generating a keypair, importing a PKCS #12, or generating a cert request.
2. Import the recipient's cert
2a. List the contents of the cert database to ensure that the CC_MINE store contains no certs and that the recipient's cert is in the CC_NON_ROOT store.
3. Create an address book entry for the recipient cert.
4. Create an enveloped only message, for the entry we just created.
Issue
SmtMsg_EncryptAndSign returns E_NO_KEYS
Cause
Resolution
You must have a keypair for the user in S/MIME-C as the sender is always included in the list of recipients.
You may be tempted to just use some arbitrary keypair for the sender to workaround this problem. Be aware of the security implications. That 'temporary' sender's private key must be kept secure, since it can be used to open the envelope.
Related Articles
User Access Reviews defined with the Default Reviewer Interface Style in 7.1.x have a 5000 review item export limit in RSA… 38Number of Views When signing a SHA256 CA off a SHA1 Root CA it does not have a SHA256 signature algorithm in RCM 158Number of Views Issue with TWIC certificates 3Number of Views Data fields available in RSA Authentication Manager Security Console reports 43Number of Views NIC System Messages 400019 & 400020 95Number of Views
Trending Articles
RSA Authentication Manager 8.9 Patches and Hotfixes Readme RSA Authentication Manager 8.9 Setup and Configuration Guide AFX Server and Remote Collection Agents fail to start after updating Java to version 1.8u241 (1.8.0_241) / 1.7u251 (1.7.0_… Upgrade Internal Authentication Manager Certificates to SHA-256 Authentication Manager Supported Hardware and Upgrade Paths
Don't see what you're looking for?