Machine key generating

3k Views Asked by At

I was setting up my web.config for subdomain single login. I had to set up Machine key. How can I generate machine key? RIght now i'm using key from this example:

ASP.NET Identity Cookie across subdomains

But I suppose that if it works I have to generate somehow my own key?

2

There are 2 best solutions below

0
On BEST ANSWER

You can use the tool

Machine Key Generator

0
On

If you have IIS manager installed, you can generate machine keys from there by selecting your application. You can also apply them to the web.config file to save them.