PDF signing fails with 'Keyset is not defined' (Error 2148073497)
windowsError 2148073497
Symptoms
Signing a PDF returns: 'The Windows Cryptographic Service Provider reported an error: The keyset is not defined. Error Code: 2148073497'.
Likely cause
The wrong CAC certificate was chosen for the signature operation (for example, the ID/Authentication cert was selected when only the EMAIL cert can sign that workflow, or vice versa).
Fix
1. Retry the signature.
2. When the certificate picker appears, switch to a different certificate than the one you tried last time.
3. If you tried 'DOD CA-xx' first, choose 'DOD EMAIL CA-xx' instead (or vice versa).
4. Complete the signature.
Sourced from militarycac.com. Rewritten for clarity.
Didn't work, or need it tailored to your setup?
Ask the AI assistant