简体   繁体   中英

ASMX web-service work on both HTTP and HTTPs

I have a soap web-service in asp.net. Currently the URL is http://www.mylink.org/webservices/abcws.asmx . I have a request from a client to make the webservice work in both HTTP and HTTPS. Does anybody know how to achieve this in asp.net.

If you enable SSL on IIS or whatever web server your are running the service on, the service will listen on HTTPS as well as HTTP.

However, your client will need to purchase a SSL certificate.

Update : You can get a free SSL certificate from https://letsencrypt.org/ .

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