简体   繁体   中英

Run wcf service from IIS 7.5 with HTTPS instead of HTTP

I have created simple wcf service. After hosting the same at IIS 7.5. I am able to access the wcf service with HTTP , but I want to access the service using HTTPS.

Example : http://myservice.publicservice/MyPublicService.svc?wsdl is accessible if I browse from IIS.

but https://myservice.publicservice/MyPublicService.svc?wsdl is not accessible.

you need to enable https binding in IIS. right click on the site where your service is hosted and there should be an option "Edit Bindings". Use that to add an https binding

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM