SSL Problems With S3 Delete File Function

======== TEMPLATE BUG FORM ========

Wappler Version: 3.5.5
Operating System: Windows 10

Expected behavior

According to a support response I have from AWS, when attempting to delete an S3 file, the URL given should be based on http rather than https. Response from AWS Support:

Kindly note here that you will not be able to access the website via HTTPS method as Amazon S3 does not support HTTPS.

Actual behavior

Wappler is supplying a url based on https and this is being rejected by the AWS api:

Error executing "DeleteObject" on "https://s3.eu-west-2.amazonaws.com/files.workshop-angel.com/30_8ae3c62c27247ce4_er-fb-banner-mar19.gif"; AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"

delete

Does the team have any feedback about this bug…?

Has anyone else successfully used the S3 Delete File function with AWS?

@Teodor, could someone take a look at this for me please?
Thanks!
Antony.

That is strange, why wouldn’t they support https for the delete endpoint?

According to their own docs https is preferred. If there are problems with ssl then it is probably an out of date CA bundle with cURL and SSL on your server.

https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/faq.html