minio / minio-cpp

MinIO C++ Client SDK for Amazon S3 Compatible Cloud Storage
https://minio-cpp.min.io/
Apache License 2.0
127 stars 53 forks source link

How to set client with secure=false #75

Closed wuxiangchao closed 1 year ago

wuxiangchao commented 1 year ago

I have minio server by python

` from minio import Minio

client = Minio("my-endpoint", "access_key", "secret_key") `

run this code with SSLError, but add secure= False that run well, like bottom

` from minio import Minio

client = Minio("my-endpoint", "access_key", "secret_key", secure=False) `

my minio-cpp client also with the error, but i don't how to add the "secure" with minio-cpp.

balamurugana commented 1 year ago

Use IgnoreCertCheck() method.

wuxiangchao commented 1 year ago

Use IgnoreCertCheck() method.

I'm add minio_client.IngoreCertCheck(true) under the minio::s3::Client minio_client(url, &provider), but do bucket exists check, the result also not exists