SSL certificate problem: unable to get local issuer certificate
- Dominant language
- PHP
- Stars
- 3.3k
- Forks
- 530
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 13
Description
When I try to use my satis repository from a composer project, I get an SSL related error:
> SSL certificate problem: unable to get local issuer certificate
I am not sure if this has to do with using valet-plus to generate the SSL certificate for the repository index?
The repository is otherwise working as it should:
https://imgur.com/a/YPZRUlB
**To Reproduce**
Here is my satis.conf:
```
{
"name": "drazulay/satis-packages",
"homepage": "https://satis-packages.test/",
"repositories": [
{
"type": "vcs",
"url": "git@github.com:drazulay/magento2-remove-checkout-fields.git"
}
],
"require-all": true
}
```
**Outcome**
```
daniel@dmbp ..orage/Developer/drazulay/seamanwelfare % composer search checkout
In CurlDownloader.php line 389:
curl error 60 while downloading https://satis-packages.test/packages.json: SSL certificate problem: unable to get local issuer certificate
search [-N|--only-name] [-O|--only-vendor] [-t|--type TYPE] [-f|--format FORMAT] [--] ...
```
**Expected behavior**
Instead, it should just search my custom repository and list my magento2-remove-checkout-fields package.
Contributor guide
Assessment
This issue has not been assessed yet.