I am using generatePreSignedURL which is generating URL of the format ( Using Java SDK):
I want to use a customized domain using CNAME. Two issues:
As CNAME doesnt work for HTTPS; I need to use http. How can generatePreSignedURL return http url. This is a small problem.. because I can anyway change it manually by replacing https to http but that doesnt look clean.
After changing manually to http; and this URL bucketName.s3.amazonaws.com to customizeURL.com ; I get SignatureDoesNotMatch !! Any idea on how to fix this ? Can my generatePreSignedURL return customized URL ?