|
If using the enterprise version there is an SSL mode. If that is being usd then the HTTP status interface and the REST API will use HTTPS instead of HTTP.
If you attempt to make a HTTP connection the following will happen.
#start mongod with net.ssl.mode = allowSSL/requireSSL
|
[root@sdev-mongoOps1 ~]# #Test REST API
|
[root@sdev-mongoOps1 ~]# curl http://localhost:28017/test/fakecollectionname/
|
curl: (52) Empty reply from server
|
[root@sdev-mongoOps1 ~]# #Test HTTP status page
|
[root@sdev-mongoOps1 ~]# curl http://localhost:28017/
|
curl: (52) Empty reply from server
|
Instead the HTTPS protocol must be used. (The curl command below seems to do it automatically if you put "https" in the URL.)
[root@sdev-mongoOps1 ~]# curl https://localhost:28017/
|
<html>
|
<header>......
|
.....
|
....
|
</body></html>
|
[root@sdev-mongoOps1 ~]#
|
So I suggest a note such as "Note: if you are an enterprise user with SSL enable these interfaces will change from HTTP to HTTPS. Your web browser or REST API clients must connect using the HTTPS protocol."
|