Created
November 27, 2019 00:47
-
-
Save ptheofan/0d7a5f4f1285c2544dd137b0a05aa294 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
[ | |
'dsn' => 'mongodb://username:[email protected]:27017/database_name', | |
'options' => [ | |
'ssl' => true, | |
'tlsAllowInvalidCertificates' => true, | |
'tlsAllowInvalidHostnames' => true, | |
'tlsCAFile' => '/apps/certificates/rds-combined-ca-bundle.pem', | |
], | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tlsCAFile
path is correct. The file is in that folder and accessible by fpm with read access rights. Adding__DIR__
will still result in an absolute path. How would this change anything?