title: MongoDB complaining about SSL handshake when SSL connection attempt is not being made
body: <p>I've tried using both the official mongo Docker image as well as khezen/mongo, and I get the same error message when I try to make an unencrypted HTTP connection:</p>
  
  <pre><code>AssertionException handling request, closing client connection: 17133 SSL handshake requested, SSL feature not available in this build
  </code></pre>
  
  <p>That's the message from khezen/mongo.  The official mongo image gives a slightly different error:</p>
  
  <pre><code>AssertionException handling request, closing client connection: 17132 SSL handshake received but server is started without SSL support
  </code></pre>
  
  <p>And when the official mongo image is started from a docker-compose.yml with a custom command (<code>mongod --sslMode allowSSL --sslPEMKeyFile /data/db/mongodb.pem</code>):</p>
  
  <pre><code>SSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
  </code></pre>
  
  <p>Now, this is all while trying to make the following request from Postman:</p>
  
  <p>Mode: POST</p>
  
  <p>URL: <a href="http://localhost:27017/lasdf?client=asdf" rel="noreferrer">http://localhost:27017/lasdf?client=asdf</a></p>
  
  <p>Data payload: </p>
  
  <pre><code>{
      "gargen": "flagren",
      "jiminy": {
          "crickets": 1,
          "isChirping": false
      },
      "blargen": "fargle",
      "_id": "a96c2a4ec6fb4a8dbe2305687eb0e50b"
  }
  </code></pre>
  
  <p>Interestingly, when I change the '<code>http</code>' to '<code>https</code>' I get no error message, but also no response, and of course the database is not changed.</p>
  
  <p>Stranger still, I <em>am</em> able to access the database via the <code>mongo-express</code> docker image.  Its default configuration does not do HTTPS requests to mongodb, because when I change my custom command to '<code>--sslMode requireSSL</code>' it fails to connect.</p>
  
  <p>The version of MongoDB installed in the container is 3.4.2.</p>