Error: The specified network password is not correct.
Description: An un handled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: The specified network password is not correct.
Reason: I can only export certificate '.pfx' with the password protected. "Kentor AuthServices" doesn't support password protected as I understand..
It is said that this issue is closed as per below link https://github.com/KentorIT/authservices/issues/457
.Net error: it is because of 'X509KeyStorageFlags.MachineKeySet' flag set..
All I did was saved the .pfx file in my solution and pointed the server certificate file path to it. Do I need to do anything else to pass through the error?
Your help is greatly appreciated.
When you export the .pfx file in the certificate manager you are prompted for a password, but you can leave it blank and press ok to generate a pfx without passwords.
Having a pfx is a simple approach in test/dev environments where including the pfx in the source lets everyone just get the source and run. That's why I'm doing that for the sample applications in the repository.
But in a production environment the certificates should always be stored securely in the certificate store of the operating system. Never use a pfx file in production. The certificate configuration allows you to specify a certificate store instead of a file name. See the configuration documentation