title: SslStream AuthenticateAsServer failed with "Server certificate Private Key unavailable." exception on Mono
body: <p>Basically what I want to do is run the MSDN example about <a href="http://msdn.microsoft.com/en-us/library/system.net.security.sslstream%28v=vs.110%29.aspx" rel="nofollow">SslStream</a> on Mono.</p>
  
  <p>I keep getting the exception: <em>Exception: The authentication or decryption has failed.
  Inner exception: Server certificate Private Key unavailable.</em></p>
  
  <p>I assume the code should be fine, and that my problem is certificate/environment related.</p>
  
  <p>I have tried generating self-singed-certificates with both the OpenSsl toolkit and makecert. I have also installed those certificates with certmgr in the Trust strof off both the user and the machine.</p>
  
  <p>I am out of ideas and have no further clue. Anyone? A step-by-step tutorial would be nice, but anything will be appreciated. </p>