title: Unable to access uploaded image from aws S3 bucket through Django
body: <p>I have successfully done the configuration of uploading images to s3 bucket through django settings.py file.</p>
  <p>this is my config:</p>
  <pre><code>  AWS_ACCESS_KEY_ID = '######################'
    AWS_SECRET_ACCESS_KEY = '###########################'
    AWS_STORAGE_BUCKET_NAME = 'divytrust-image'
  
    AWS_S3_FILE_OVERWRITE = False
    AWS_DEFAULT_ACL = None
    DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  </code></pre>
  <p>I am using Nginx+gunicorn on server.
  I am successfully able to upload image to s3bucket/pics
  But when I try to view the image from django admin panel, I get error:</p>
  <pre><code>  This XML file does not appear to have any style information associated with it. The 
    document tree is shown below.
  
    &lt;Error&gt;
      &lt;Code&gt;InvalidRequest&lt;/Code&gt;
      &lt;Message&gt;The authorization mechanism you have provided is not supported. Please use 
      AWS4-HMAC-SHA256.&lt;/Message&gt;
      &lt;RequestId&gt;1F51EJV41QT73FSV&lt;/RequestId&gt;
      &lt;HostId&gt;ZL9W4GqDXDbPluBsX+aC4FvRzVy0CLLjy6mXEPL8U/zAWSFzNi1tAQQixGIhbLgeADS1DV0Mv8c= 
    &lt;/HostId&gt;
  </code></pre>