Secure ASP.NET MVC application with SSL and client certificate authentication

前端 未结 2 1145
Happy的楠姐
Happy的楠姐 2021-01-31 23:27

I\'m looking to secure an ASP.NET MVC application with SSL and client certificate authentication. I\'m using IIS 7.5, Windows Server 2008 R2.

I\'d like to know whether i

2条回答
  •  余生分开走
    2021-02-01 00:12

    So, to answer my own questions.. all of the above can be achieved through the Web.config. The following section of the Web.config requires SSL through the system/access section, and configures many-to-one client certificate mapping. These sections are locked in the applicationHost.config so anyone wishing to edit them in the Web.config will need to unlock them. There are many tutorials on that so I won't go into it.

            
                
                
                    
                    
                        
                            
                                
                                    
                                
                            
                        
                    
                
            
    

提交回复
热议问题