flask-admin-s3-upload icon indicating copy to clipboard operation
flask-admin-s3-upload copied to clipboard

ssl.CertificateError: hostname doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'

Open Autopilot9369 opened this issue 7 years ago • 0 comments

Hi. Thanks for the library. The library works fine when the bucket name doesn't contain dots, But suppose, I have a bucket with name 'bucket.abc' then it throws ssl.CertificateError error.

The problem originates from here: https://github.com/Jaza/flask-admin-s3-upload/blob/master/flask_admin_s3_upload.py#L159

Please fix it as soon as possible.

Autopilot9369 avatar Apr 10 '17 04:04 Autopilot9369