composer / composer/satis

SSL certificate problem: unable to get local issuer certificate

Open
#824 0 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.