title: Configure a Port with an SSL Certificate w\o using Httpcfg
body: <p>When one develops a self-hosted WCF http server,
  one of the steps needed is to bind an SSL certificate to a port number:
  httpcfg set ssl -i 0.0.0.0:8012 -h 0000000000003ed9cd0c315bbb6dc1c08da5e6
  as stated in:
  <a href="http://msdn.microsoft.com/en-us/library/ms733791.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ms733791.aspx</a></p>
  
  <p>However,
  It is hardly expected that in my deployment environment one would be able to do it.
  (I don't even know if the httpcfg.exe is redistributable)
  Moreover, if the user changed the port after he installed the product then he will need to run the command again....</p>
  
  <p><strong>how can this step be automated pro grammatically?</strong></p>
  
  <p>preferably in C# but if it can only be done in C++ (direct access to the Http Server API)
  then I will manage :)</p>