Hello,

I’ve just started to use Space and got an error. I use Laravel framework and tried to put simple txt file to bucket. When I do it, I have next error:

“Error executing "PutObject” on “http://**.fra1.digitaloceanspaces.com/1.txt”; AWS HTTP error: cURL error 60: SSL: no alternative certificate subject name matches target host name ’**.fra1.digitaloceanspaces.com’ (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

I don’t want to use SSL now and can’t disable it. My config is below:

    's3' => [
        'driver' => 's3',
        'scheme' => 'http',
        'visibility' => 'public',
        'key' => env('S3_KEY'),
        'secret' => env('S3_SECRET'),
        'region' => env('S3_REGION'),
        'bucket' => env('S3_BUCKET'),
        'endpoint' => env('S3_ENDPOINT'),
    ],

Does someone know how can I fix this issue?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!