You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using mkcert addon to generate cert, the cli container isn't using the cert. As a result, Guzzle/Curl requests using https within container fail with error
curl: (60) SSL certificate problem: unable to get local issuer certificate
In my scenario, I was executing a Drupal Test Trait (DTT) test against an existing Drupal site over HTTPS. As a work around, I copied the mkcert crt file into .docksal project, e.g. ./docksal/certs/myproject.docksal.site.crt, and used .docksal/etc/php/php.ini to override curl.cainfo value, such as the following. While this worked with my project's DTT test; it still did not work when using curl within the cli container.
Description
When using mkcert addon to generate cert, the cli container isn't using the cert. As a result, Guzzle/Curl requests using https within container fail with error
In my scenario, I was executing a Drupal Test Trait (DTT) test against an existing Drupal site over HTTPS. As a work around, I copied the mkcert crt file into .docksal project, e.g. ./docksal/certs/myproject.docksal.site.crt, and used .docksal/etc/php/php.ini to override curl.cainfo value, such as the following. While this worked with my project's DTT test; it still did not work when using curl within the cli container.
Steps to reproduce the issue:
fin bash
curl https://myproject.docksal.site
Describe the results you received:
[Curl error](curl: (60) SSL certificate problem: unable to get local issuer certificate)
Describe the results you expected:
Expecting curl response same as that using http protocol:
curl http://myproject.docksal.site
Output of
fin config
:fin config output
Output of
fin sysinfo
:fin sysinfo output
The text was updated successfully, but these errors were encountered: