Disable https on amazonaws URLs containing period
-
If I turn on the “CloudFront or Custom Domain” option, and enter an S3 endpoint with a period in the bucketname (eg some.bucket.s3-website-us-east-1.amazonaws.com), the plugin converts the URLs to include an HTTPS eg https://some.bucket.s3?website?us?east?1.amazonaws.com/path/to/file . This also happens if I enter a custom domain that I have CNAMEd to the endpoint (this would force the bucket name to contain periods).
The AWS doc mentions
When using virtual hosted–style buckets with SSL, the SSL wild card certificate only matches buckets that do not contain periods. To work around this, use HTTP or write your own certificate verification logic.
. So the URLs generated by the plugin fail and I am unable to view the media library within wp-admin.
Is there a workaround to force http for such URLs? I do not intend to use Cloudfront.
- The topic ‘Disable https on amazonaws URLs containing period’ is closed to new replies.