Trying to install dusk on Laravel like this:
php7.4 artisan dusk:install
I get this error:
Dusk scaffolding installed successfully.
Downloading ChromeDriver binaries...
ErrorException
file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
CodePudding user response:
Try this:
php artisan dusk:install --ssl-no-verify
CodePudding user response:
There appears to be an issue related to running this version of PHP on Windows. Upgrading all of PHP's files to v7.4.6 or newer resolves the issue. Specifically, the problem lies with the file libssl-1_1-x64.dll in the base PHP directory. Simply replacing only this file with the updated version will resolve the errors.