WCF Service not hitting from postman over https

后端 未结 2 593
轮回少年
轮回少年 2020-12-22 09:03

Before adding SSL certificate postman query is hitting. But when i added SSL certificate, Postman request is not working. I have attached file of postman request and follow

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 09:28

    You need to configure the https endpoint, and then add the https protocol and specify the https certificate in IIS.
    https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-an-iis-hosted-wcf-service-with-ssl
    Here is my configuration file whose http/https endpoint are all configurated, wish it is useful to you.

           
            
    
               
                
                
                
              
            
            
              
                
                  
                  
                    
                  
                
                
                  
                
              
            
            
              
                
                  
                  
                
              
              
                
                  
                
              
            
            
              
            
               
    

    Result.
    By the way, I need to configure https/http binding base address in IIS.
    https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-configure-an-iis-hosted-wcf-service-with-ssl
    Feel free to let me know if there is anything I can help with.

提交回复
热议问题