ncw / swift

Go language interface to Swift / Openstack Object Storage / Rackspace cloud files (golang)
MIT License
310 stars 107 forks source link

OS_CACERT env variable is not used #149

Open mgrzybek opened 4 years ago

mgrzybek commented 4 years ago

The library actually fetches some environment variables to connect against Openstack API. However, we cannot use a custom certificate (using OS_CACERT) the same way that the python-based openstack-cli does.

Using these variable makes things easier when running some go-based softwares (such as rclone) in containers.

ncw commented 4 years ago

Do you want to send a PR implementing this?

mgrzybek commented 4 years ago

I might have some available time to do it in a few weeks. I found a hack mounting /etc/ssl from the host into the container.

ncw commented 4 years ago

I might have some available time to do it in a few weeks. I found a hack mounting /etc/ssl from the host into the container.

If you have time to send a PR that would be great - thank you :-)