I have the same problem as here, so I get the error: "Invalid provider type specified".

However .NET 4.6 added support for CNG certificate handling so no need for additional libraries.

What changes I need to make to TokenHelper.cs in order to use certificate with Microsoft Software Key Storage Provider instead of Microsoft RSA Schannel Cryptographic Provider.

  • Why do you want to use it? Are there any benefits? – Sergei Sergeev Dec 20 '16 at 17:07
  • Customer has it and they have problems converting the certificate. – Miksteri Dec 21 '16 at 8:11
  • 1
    In the end, customer managed to convert the certificate and everybody was happy :) – Miksteri May 23 '17 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.