Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error 51 when accessing S3 buckets with a period (.) in the name #1579

@youphyun

Description

@youphyun

When accessing Amazon S3 buckets with a period (.) in their name, I get an error "51 - SSL: no alternative certificate subject name matches target host name". This error is caused by validation failure of the SSL certificate for the Amazon S3 servers.

During the setup even an error is displayed: "bucket can only consist of basic alphanumeric characters plus dot (.)". However the dots are also causing issues.

There are several other sites referring to this problem for example:
boto/boto#2836

[Thu May 28 12:09:29.491270 2015] [:error] [pid 837] [client x.x.x.x:58533] {severity:warn, description:"Uncaught exception (/var/www/openphoto/src/libraries/external/aws/lib/requestcore/requestcore.class.php:797): cURL resource: Resource id #24; cURL error: SSL: no alternative certificate subject name matches target host name 'trovebox.test.s3.amazonaws.com' (51)", additional:}, referer: http://ec2-x-x-x-x.eu-central-1.compute.amazonaws.com/setup/3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions