Created
November 27, 2019 00:47
-
-
Save ptheofan/0d7a5f4f1285c2544dd137b0a05aa294 to your computer and use it in GitHub Desktop.
This file contains 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:password@objectdb.cluster-xxx.eu-central-1.docdb.amazonaws.com:27017/database_name', | |
'options' => [ | |
'ssl' => true, | |
'tlsAllowInvalidCertificates' => true, | |
'tlsAllowInvalidHostnames' => true, | |
'tlsCAFile' => '/apps/certificates/rds-combined-ca-bundle.pem', | |
], | |
] |
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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are using an absolute path for
pem
-file.Try to fix it by adding
__DIR__
and making this path correct