How to create a self signed certificate for authentication in dotnet? [duplicate]

我怕爱的太早我们不能终老 提交于 2019-12-11 06:02:00

问题


Background:

We have to implement a custom authentication mechanism for identifying and authenticate my client's applications and initial details can be found here.

Finally, We have come up with the conclusion that we will simply use self-signed certificate for encryption and decryption of JWT token.

Now I'm figuring out the answers of following questions:

Are there any dotnet libraries available for creating self-singned certificate or I should write my own code for the same?

If I would be issuing a self-singned certificate to my different clients for the secure authentication and communication then how that certificate would be updated at client machine after an expiry?

Edit:

The client needs to sing JWT token using the issued certificate before sending it back to my application.

来源:https://stackoverflow.com/questions/55255036/how-to-create-a-self-signed-certificate-for-authentication-in-dotnet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!