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

Unable to locate a valid CA certificate file #174

Open
kayakr opened this issue Oct 27, 2020 · 1 comment
Open

Unable to locate a valid CA certificate file #174

kayakr opened this issue Oct 27, 2020 · 1 comment

Comments

@kayakr
Copy link

kayakr commented Oct 27, 2020

Arrived here via instructions at
https://www.previousnext.com.au/blog/join-us-drupalgov-2020-code-sprint#set-up-a-development-environment--2
that use a gist that references previousnext/php-apache:7.3-3.x-dev

FYI, at docker-compose run -w /data/app app composer install I get

Creating drupal_app_run ... done
Running entrypoint.d script: /docker-entrypoint.d/blackfire.sh
Skipping Backfire: Set BLACKFIRE_ENABLED=yes to enable
Running entrypoint.d script: /docker-entrypoint.d/tuner.sh
Tuning: Apache: /var/run/tuner/apache2/tuner.conf
Tuning: PHP: /var/run/tuner/php/tuner.ini
Running entrypoint.d script: /docker-entrypoint.d/xdebug.sh
Skipping Xdebug: Set XDEBUG_ENABLED=yes to enable
Unable to locate a valid CA certificate file. You must set a valid 'cafile' option.
A valid CA certificate file is required for SSL/TLS protection.
You can disable this error, at your own risk, by setting the 'disable-tls' option to true.

[Composer\Downloader\TransportException]
The configured cafile was not valid or could not be read.

@kayakr
Copy link
Author

kayakr commented Oct 27, 2020

Can change composer.json to

"config": {
    "preferred-install": "dist",
    "autoloader-suffix": "Drupal8",
    "disable-tls": true,
    "secure-http": false
},

to proceed...

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

No branches or pull requests

1 participant