Configuring s3-accelerate.amazonaws.com produces double .s3
-
Hi,
Firstly a quick thank you for this great plugin.Issue:
When I add the region constant to wp-config, and refresh the admin Dashboard page for the plugin, I get an error because it has automatically inserted an extra .s3 into the url preventing it from working.AWS says to use this for the region endpoint:
cdn-example-com.s3-accelerate.amazonaws.com
and it works fine elsewhereI enter this in WP-config:
// Bucket region (e.g. 'us-west-1' - leave blank for default region) 'region' => 's3-accelerate',
and the error is:
There was an error attempting to check the permissions of the bucket cdn-invisionary-tech: Error executing "PutObject" on "https://cdn-example-com<strong>.s3</strong>.s3-accelerate.amazonaws.com/2021/06/as3cf-permission-check.txt"; AWS HTTP error: cURL error 60: SSL: no alternative certificate subject name matches target host name 'cdn-example-com<strong>.s3</strong>.s3-accelerate.amazonaws.com' (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Please can you advise the correct syntax to prevent the plugin from breaking the url by inserting the surplus .s3 between the bucket name and region?
Many thanks!
- The topic ‘Configuring s3-accelerate.amazonaws.com produces double .s3’ is closed to new replies.