I found some topics in the English OS but I could not solve the problem by.
Any library, fw, anything in case I try to install with composer, I get this SSL error.
OBS: I have SSL installed on localhost
When I give a require in symfony for example, it returns me this:
Warning: Module 'openssl' already loaded in Unknown on line 0
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Would anyone know how to solve it?
Thank you!