IIS 7 Error “A specified logon session does not exist. It may already have been terminated.” when using https

后端 未结 19 880
情书的邮戳
情书的邮戳 2021-01-30 19:58

I am trying to create Client Certificates Authentication for my asp.net Website.

In order to create client certificates, I need to create a Certificate Authority first:<

19条回答
  •  清酒与你
    2021-01-30 20:03

    This must be some kind of IIS bug, but I found the solution.

    1- Export MyPersonalCA.pfx from IIS.

    2- Convert it to .pem:

    openssl pkcs12 -in MyPersonalCA.pfx -out MyPersonalCA.pem -nodes

    3- Convert it back to .pfx:

    openssl pkcs12 -export -in MyPersonalCA.pem -inkey MyPersonalCA.pem -out MyPersonalCA.pfx

    4- Import it back to IIS.

提交回复
热议问题