Note that there are some explanatory texts on larger screens.

plurals
  1. POwcf why can't I see my https site
    text
    copied!<p>I have created a simple webservice. Then i created an Console Host which must host the service via a https url..</p> <p>This is my config:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;configuration&gt; &lt;system.serviceModel&gt; &lt;services&gt; &lt;service behaviorConfiguration="mexBehaviour" name="NuriServiceLibrary.NuriService"&gt; &lt;clear /&gt; &lt;endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHttpBindingConfig" contract="NuriServiceLibrary.iNuriService" listenUriMode="Explicit" /&gt; &lt;endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" /&gt; &lt;host&gt; &lt;baseAddresses&gt; &lt;add baseAddress="https://192.168.....:8001/SecureConsole" /&gt; &lt;/baseAddresses&gt; &lt;/host&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="mexBehaviour"&gt; &lt;serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="basicHttpBindingConfig"&gt; &lt;security mode="Transport"&gt; &lt;transport clientCredentialType="None" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt; </code></pre> <p>and this is my program.cs:</p> <pre><code> static void Main(string[] args) { ServiceHost host = new ServiceHost(typeof(NuriService)); host.Open(); foreach (Uri address in host.BaseAddresses) { Console.WriteLine("Listening on " + address); } Console.WriteLine("Press &lt;Enter&gt; to terminate Host.\n\n"); Console.ReadLine(); host.Close(); } </code></pre> <p>I have created a certificate by : 1. makecert.exe -sr LocalMachine -ss My -n CN=192.168..... -sky exchange -sk -pe 2. netsh http add sslcert ipport=192.168....:8001 certhash=(intentionally left) appid={(intentionally left)}</p> <p>But the problem is, i Can't see my https webpage... I see this website is not available.. Anyone got an idea?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload