photo / frontend

The official @github repository of the Trovebox frontend software. A photo sharing and photo management web interface for data stored "in the cloud" (i.e. Amazon S3, Rackspace CloudFiles, Google Storage).
https://trovebox.com
Apache License 2.0
1.37k stars 244 forks source link

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

Open youphyun opened 9 years ago

youphyun commented 9 years ago

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: https://github.com/boto/boto/issues/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