I have an custom binding defined as follows:
<customBinding>
<binding name="binaryHttpBinding">
<binaryMessageEncoding />
<httpTransport />
</binding>
This is used for an endpoint that a Silverlight 3 application uses to connect to the service. This works fine under HTTP, but i would like to specify this binding to use HTTPS and I am kinda lost on how to define that. I am using selfSSL.exe from the IIS Resource Toolkit to setup an SSL on my local machine. I can browse the svc file fine through HTTPS (although the browser throws up a warning that its not a recognized cert). How can i setup this custom binding to use transport security over HTTPS?
Simple change, use the httpsTransport like so:
<customBinding>
<binding name="binaryHttpBinding">
<binaryMessageEncoding />
<httpsTransport />
</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.