问题
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