Using S3 compatible storage with self signed certificate with loki

Hello,

I am trying to configure Loki with s3 compatible object storage that has a self signed certificate. Any idea how to make it accept the certificate?

Thank you in advance.