doctrine/DoctrineMongoDBBundle

Unrecognized option "tlsCAFile"

hasc opened this issue · 2 comments

hasc commented

I am trying to connect to an AWS DocumentDB with TLS enabled. I see no way passing the ssl/tls caFile option.

I assume I should be able to configure this somehow like this:

options:
    username: '%env(resolve:MONGODB_USERNAME)%'
    password: '%env(resolve:MONGODB_PASSWORD)%'
    ssl: '%env(bool:MONGODB_SSL)%'
    tlsCAFile: '/path/to/cafile.pem'

Are there any plans to add this options or reasons to not do so?

Are there any plans to add this options or reasons to not do so?

I don't think there are any plans, but PR are welcome, so feel free to create a PR adding these options 😉

hasc commented

Voilà: #699