'Issue using certificate with .CRT
We are having an issue while we use the certificate with .CRT extension - The EncryptedPrivateKeyInfo structure was decoded but was not successfully interpreted, the password may be incorrect. . Using the certificate with .pfx and same key file, we are having success. Also, we are seeing the issue in our production environment only.
Solution 1:[1]
By default, an attempt is made to store the certificate in the user certificate store. Of course, this only works if the user profile is available.
To Load the Userprofile for an Application pool in IIS follow these steps (copied from here):
- Go to IIS Manager
- Go to the application pool instance
- Click advanced settings
- Under Process model, set Load User Profile to true
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | DaBeSoft |