Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

819 B
Raw Blame

Mongo server with SSL support

Running the server

The script run-server.sh can be used to run the metabase-qa Mongo server in docker. It is possible to run different versions of Mongo with different SSL configurations (plain, ssl and tls).

Keys and certificates

When the docker container starts, the client key and the client and CA certificates needed for the backend tests are copied into the this directory.

Although the source of truth is the docker image, the client certificates are checked in because there are tests like the SSL connection factory tests which need valid certificates and keys.

To test against the server with TLS

MB_MONGO_TEST_USER=metabase MB_MONGO_TEST_PASSWORD=metasample123 MB_TEST_MONGO_REQUIRES_SSL=1 DRIVERS=mongo clj -X:dev:ci:ee:ee-dev:drivers:drivers-dev:test