Https://mywebsite/myapp/myservice.svc 갈 수 있으며, 다음과 같은 오류:
(링크 작동됨 http://로 사용하고 있는)
", 오류: # 39, & # 39, https& 프로토콜 지원되지 않습니다. # 39, & # 39 는 샤넬디스파처 emc. https://./Annotation.svc&. & # 39, & # 39 Annotation" 계약을 맺은 %hsmb ";; 그 IChannelListener." 열 수 없습니다.
<services>
<service behaviorConfiguration="AnnotationWCF.AnnotationBehavior"
name="AnnotationWCF.Annotation">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Annotation"
contract="AnnotationWCF.Annotation" />
<endpoint address=""
binding="basicHttpBinding" bindingConfiguration="SecureTransport"
contract="AnnotationWCF.Annotation" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
</service>
< /services>;
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_Annotation" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
<binding name="SecureTransport" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647" />
</binding>
</basicHttpBinding>
이와 동일한 문제가 있었습니다. 그러나 나의 해결책은 추가 s" "; 이 값을 바인딩하면.
Old:* = " 바인딩하면 mexHttpBinding";
New:* = " 바인딩하면 mexHttpsBinding";
snippet:* 웹스콘피그
<services>
<service behaviorConfiguration="ServiceBehavior" name="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService">
<endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding"
contract="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService" />
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
</service>
내 문제는 내가 사용한 것으로 드러나 SSL, http 를 처리할 수 있는 로드 밸런서의 보낸 다음 그 위에 실제 서버, 그 다음에 불평했다.
설명 수리입니다 여기 있습니다. http://blog.hackedbrain.com/2006/09/26/how-to-ssl-passthrough-with-wcf-or-transportwithmessagecredential-over-plain-http/
편집: 난 내 문제가 해결된 후 약간 다른 이야기를 하는 것은 microsoft 지원.
내 실버라이트 응용 프로그램 코드를 로드 밸런서의 https 를 넘어 종료점 주소를 있었습니다. Http 와 로드 밸런서의 종료점 주소를 변경한 후 실제 서버 가리키십시오 데이텀이 가고 있었다. # 39 에 대한 추가 드릴링됩니다 각 server& 난 https 가 아닌 http 웹 구성용 리스티누리 종료점
<endpoint address="" listenUri="http://[LOAD_BALANCER_ADDRESS]" ... />
Ssl 활성화되었는지 smartupdate 서버에 대한!
나는 attaboy 할 때 이 오류가 있는 상자를 사용할 수 있는 # 39, HTTPS 구성파일입니다 on my 로컬이며 doesn& 없는 제공한다. I was trying to do 로컬 테스트 - HTTP 로 변환하여 HTTPS 의 일부 바인딩. 이렇게 해야 할 것 같아 더 쉽게 할 수 있는 자체 로컬 테스트 인증서를 서명됩니다 비해 설치.
뭔가 좀 이상한 대한 구성에 HTTPS. Http 를 작업할 수 있는 자체 서명됩니다 생성하기에 cert IIS7 :-)
I think you are 유사한 방식으로 서비스를 구성해야 하는 다음과 같은 구성. 자세한 내용은 여기 있습니다. [지정하십시오라는 서비스 두 개의 다른 값을 사용하여 엔드포인트에 바인딩하면] [1]. 또 다른 it& # 39 의 개발, 보다 좋은 방법이 없는듯 모두 & HTTP; HTTPS 엔드포인트에 동일한 서비스용입니다. 이 패배는 좀 목적이 HTTPS. 이를 통해 희망을!
<service type="HelloWorld, IndigoConfig, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null">
<endpoint
address="http://computer:8080/Hello"
contract="HelloWorld, IndigoConfig, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"
binding="basicHttpBinding"
bindingConfiguration="shortTimeout"
</endpoint>
<endpoint
address="http://computer:8080/Hello"
contract="HelloWorld, IndigoConfig, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"
binding="basicHttpBinding"
bindingConfiguration="Secure"
</endpoint>
</service>
<bindings>
<basicHttpBinding
name="shortTimeout"
timeout="00:00:00:01"
/>
<basicHttpBinding
name="Secure">
<Security mode="Transport" />
</basicHttpBinding>
</bindings>
[1]: http://msdn.microsoft.com/en-us/library/ms733099.aspx " 스크롤하십시오 Endpoints." 2 개, 서비스 지정할 수 있습니다.
나는 내 경우에는 보안 설정 모드 TransportCredentialOnly" "; 대신 Transport" "; 의 바인딩하면. 변화하는 it 문제가 해결되었습니다
<bindings>
<webHttpBinding>
<binding name="webHttpSecure">
<security mode="Transport">
<transport clientCredentialType="Windows" ></transport>
</security>
</binding>
</webHttpBinding>
</bindings>
Look at 너회의 베이스 주소와 너회의 종료점 주소 (can& t # 39, 그것을 볼 수 있는 샘플 코드). 대신 https / / 열 또는 다른 대부분 너회가 누락했습니다 https:// 오식 (예: