Skip to content

Cannot start with SSL #165

@coolgk

Description

@coolgk

If I start mongod with ssl enabled, docker-entrypoint.sh will always fail.

on line 106 of docker-entrypoint.sh: if "${mongo[@]}" 'admin' --eval 'quit(0)' &> /dev/null; then

ssl options should be added to the mongo command if the server is started with ssl

e.g. add --ssl --sslAllowInvalidCertificates
if "${mongo[@]}" --ssl --sslAllowInvalidCertificates 'admin' --eval 'quit(0)' &> /dev/null; then

image mongo:3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions