Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect to MongoDb with SSL certificate? #380

Closed
websirnik opened this issue Oct 29, 2016 · 3 comments
Closed

How to connect to MongoDb with SSL certificate? #380

websirnik opened this issue Oct 29, 2016 · 3 comments
Labels
Milestone

Comments

@websirnik
Copy link

I have an SSL certificate that I need to use when connecting to MongoDB.

How can I replicate the example #2 from http://php.net/manual/en/mongo.connecting.ssl.php with the DoctrineMongoDBBundle?

@malarzm
Copy link
Member

malarzm commented Oct 30, 2016

This may be not possible with current bundle state as connection's definition is created here and later during initialization the third argument is not passed to the driver.

@malarzm malarzm added Feature and removed Question labels Oct 30, 2016
@malarzm
Copy link
Member

malarzm commented Nov 4, 2016

Just to cross reference @alcaeus just opened doctrine/mongodb#276 which provides missing feature in underlying doctrine/mongodb so after we release stable version we can add configuration option to the bundle :)

@manuelbcd
Copy link

+1 It's important to have the ability to connect using SSL certificate file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants