Hi I am trying to implement SSL. I have below code in config file
<behaviors>
<serviceBehaviors>
<behavior name="MySSLBehavior">
<serviceMetadata httpsGetEnabled="True" httpsGetUrl="mex" />
</behavior>
</serviceBehaviors>
</behaviors>
Also I have tried to registered the above behavior
kernel.Register(Component.For<IServiceBehavior>()
.Instance(new
ServiceMetadataBehavior()
{
HttpGetEnabled =
false,
HttpsGetEnabled
= true }).Configuration
(Attrib.ForName("MySSLBehavior").Eq(WcfExtensionScope.Services)));
I have a valid certificate and use a binding with Transport security.
I then register my service.(https://#######) and get below error
"The HttpGetEnabled property of ServiceMetadataBehavior is set to true
and the HttpGetUrl property is a relative address, but there is no
http base address. Either supply an http base address or set
HttpGetUrl to an absolute address."
Any pointers on how to resolve this....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---