使WCF服务支持HTTPS的设定方法 (服务器篇)
1,生成加密证书
??? 用VisualStudio 中 MakeCert.exe 的工具生成加密证书。
?3,用 httpcfg 命令将加密证书和SSL端口关联好。??? 关联 httpcfg set ssl -i [ip]:[port] -h [thumbprint hash]??? 解除关联 httpcfg delete ssl –i [ip]:[port]?????
?
3,用 httpcfg 命令将加密证书和SSL端口关联好。
??? 关联 httpcfg set ssl -i [ip]:[port] -h [thumbprint hash]
??? 解除关联 httpcfg delete ssl –i [ip]:[port]
?????