An unexpected error occurred. Error executing "PutObject" on "https://minio.xx:443/test/s3fs-tests-results/write-test-070520-1339.txt"; AWS HTTP error: cURL error 60: SSL certificate problem: self signed certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

The error message should inform you what is going on. You are using a self-signed certificate locally. This probably won't be an issue on your production sites, but this is not really useful for local development.

To solve it I suggest creating an advanced configuration that gives us the possibility to enable or disable SSL / TLS verification.

Comments

davidlfg created an issue. See original summary.

davidlfg’s picture

StatusFileSize
new1.94 KB
naveenvalecha’s picture

Version: 8.x-3.0-alpha15 » 8.x-3.x-dev

Moving to 8.x-3.x branch.

ysamoylenko’s picture

Status: Needs review » Reviewed & tested by the community

Hello @davidlfg,
I've tried to upload a file to the bucket from the local website with a self-signed certificate.
Currently, I cannot reproduce the problem on the latest version of the module.
Please try to update your module version
If the problem still exists with a new version please provide more details related to the issue.

Testing environment: S3FS: 8.x-3.x-dev, Bucket region: eu-central-1, OpenSSL generated certificate, D8.8.6

cmlara’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new3.94 KB
new4.93 KB

Rerolled to be used as a configuration instead of a setting.

Regarding @ysamoylenko unable to duplicate, that may be because of #3207028: Decouple custom endpoint http/https selection from 'use_https' config

  • cmlara committed d0a1461 on 8.x-3.x
    Issue #3134530 by davidlfg, cmlara: cURL error (60) SSL certificate...

  • cmlara committed d0a1461 on 4.0.x
    Issue #3134530 by davidlfg, cmlara: cURL error (60) SSL certificate...
cmlara’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.