I've been doing some laravel development over the past few months with no issue. After the Windows 10 Creator's update I've been unable to get any OpenSSL related functionality to work. They all point to the same error code: 1.
First failed attempt was something simple like:
laravel new blog
produces the following output
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 59 installs, 0 updates, 0 removals
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing erusev/parsedown (1.6.2): Downloading (failed)
Downloading (failed)
Downloading (failed) Failed to download erusev/parsedown from dist: The "https://api.github.com/repos/erusev/parsedown/zipball/1bf24f7334fe16c88bf9d467863309ceaf285b01" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Now trying to download from source
... And continues on like that for most of the packages
Re-installing php didn't help
I tried reinstalling php to a newer version 7.1.5 instead of my current 7.1.3 (which worked before the Creator's Update).
Trying to update composer didn't fix it
I went to reinstall composer and get basically the same errors posted above, but just one single error:
The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
I'm not sure if I changed some setting when I allowed the Windows 10 Creator's Update that broke all of this.
Any help would be greatly appreciated.