Site icon EfmSoft

What does HRESULT 0x80090349 (SEC_E_CERT_WRONG_USAGE) mean?

 
Previous Next
SEC_E_NO_KERB_KEY SEC_E_DOWNGRADE_DETECTED

SEC_E_CERT_WRONG_USAGE

SEC_E_CERT_WRONG_USAGE means that the certificate is not authorized for the requested purpose. A certificate may be otherwise valid and trusted while its enhanced key usage or other constraints exclude the role in which it is being presented.

Examples

What to do

Inspect the effective EKU and key-usage constraints, then issue or select a certificate for the exact client or server role. Replacing it with a broadly trusted but wrong-purpose certificate is not a valid fix.

Microsoft: CertGetEnhancedKeyUsage · SSPI Status Codes


Looking for a different code? Search another status or error code.

Exit mobile version