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 answers

0
Trikaldarshiii On BEST ANSWER

You can use the tool

Machine Key Generator

0
TylerHaigh 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.