I tried using both the official Donger Mongo image and khezen / mongo, and I get the same error message when I try to make an unencrypted HTTP connection:
AssertionException handling request, closing client connection: 17133 SSL handshake requested, SSL feature not available in this build
This is a post from khezen / mongo. The official mongo image gives a slightly different error:
AssertionException handling request, closing client connection: 17132 SSL handshake received but server is started without SSL support
And when the official mongo image is launched from docker-compose.yml using the user command ( mongod --sslMode allowSSL --sslPEMKeyFile /data/db/mongodb.pem):
SSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
Now that's all, trying to make the following request from Postman:
Mode: POST
URL: http: // localhost: 27017 / lasdf? Client = asdf
Data payload:
{
"gargen": "flagren",
"jiminy": {
"crickets": 1,
"isChirping": false
},
"blargen": "fargle",
"_id": "a96c2a4ec6fb4a8dbe2305687eb0e50b"
}
, 'http' 'https, , , , , .
, docker mongo-express. HTTPS- mongodb, , "--sslMode requireSSL", .
MongoDB, , 3.4.2.