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
Try this:
php artisan dusk:install --ssl-no-verify
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.