title: Libmicrohttpd and ssl
body: <p>I am following this tutorial: <a href="https://www.gnu.org/software/libmicrohttpd/tutorial.html#Adding-a-layer-of-security" rel="nofollow">https://www.gnu.org/software/libmicrohttpd/tutorial.html#Adding-a-layer-of-security</a></p>
  
  <p>In the section about ssl, there's an example provided called tlsauthentication.c... here's a link with the source code...</p>
  
  <p><a href="https://github.com/ulion/libmicrohttpd/blob/master/doc/examples/tlsauthentication.c" rel="nofollow">https://github.com/ulion/libmicrohttpd/blob/master/doc/examples/tlsauthentication.c</a></p>
  
  <p>Unfortunately I can't get this file to run.  The daemon never starts. Instead it returns null right away. (This happens in int main() way near the bottom of the source.)</p>
  
  <p>The required files are server.key and server.pem which I have created in the right place based on the tutorial's instructions.</p>
  
  <p>I found a similar question and the answer was that the OP had compiled with a --no-https flag (or something like that), but I simply compiled under default settings (<code>./configure&amp; make&amp; make install</code> I think it was).</p>
  
  <p>What am I missing? How can I get this file to serve https as it was intended?</p>
  
  <p>In case it's relevant, I'm using the newest stable version of libmicrohttpd, I updated gnutls (in case that matters), and I'm on OSX El Capitan.</p>