X509 certificate not loading private key file on server

前端 未结 5 2084
忘了有多久
忘了有多久 2020-12-12 23:54

I\'m using the Google Analytics API and I followed this SO question to set up the OAuth: https://stackoverflow.com/a/13013265/1299363

Here is my OAuth code:

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 00:56

    As mentioned above you need to configure IIS but as our case, some time you need to check the permission of the following folder:

    C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

    If you set X509KeyStorageFlags parameter it will create a key file in this folder. In my case there was a difference in permission of this folder. Pool account was not added in the mentioned folder.

提交回复
热议问题