title: Selfhosting a WCF service over Https
body: <p>I want to write a WCF service (self-hosted) that should use https.
  By searching the web I found a blog article from msdn that tells me
  to use the "netsh.exe" command to bind the certificate to the endpoint 
  by commandline:
  <a href="http://blogs.msdn.com/b/james_osbornes_blog/archive/2010/12/10/selfhosting-a-wcf-service-over-https.aspx" rel="nofollow">http://blogs.msdn.com/b/james_osbornes_blog/archive/2010/12/10/selfhosting-a-wcf-service-over-https.aspx</a></p>
  
  <p>However, is this still state of the art?
  Why not use this:
  <a href="http://msdn.microsoft.com/de-de/library/system.servicemodel.description.servicecredentials.servicecertificate%28v=vs.100%29.aspx" rel="nofollow">http://msdn.microsoft.com/de-de/library/system.servicemodel.description.servicecredentials.servicecertificate(v=vs.100).aspx</a></p>
  
  <p>Or do I miss something?
  Thanks for any help.</p>