Skip to content

Use https for everything between oio-swift and the rest #1982

@martinetd

Description

@martinetd
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

common?

SUMMARY

Our security officer requires us to run the swift gateway on a separate network as a kind of fuse between users and the rest of the oio cluster, and only encrypted traffic is allowed between the two networks.
We thus need to upgrade all plain text connections from http to https from the client.
(server setup is fairly straightforward, either a simple https reverse proxy for the oioproxy, or directly add https to the rawx apache config)

Recap of the work so far:

https to rawx

I'm not sure on that. My current understanding is that the meta-2 store the rawx url 'as is', and one might want to allow a mix of plain/crypted in which case changing the url on meta-2 isn't the best thing to do.
On the other hand, while the client could just rewrite all http links to https if the oioproxy connection is in https, if the ports involved aren't 80/443 I don't see how it could be guessed so that isn't straightforward either, so going full https might be the best way forward. It might be counter-intuitive though if that does not allow conversion for existing files easily?

public object URLs

When using e.g. s3cmd put --acl-public file s3://bucket/file I get this kind of url back:
Public URL of the object is: http://swiftgateway:6010/bucket/file
where 6010 is the https port and I have use_https = true in my .s3cfg configuration; so I assume this http comes back from the oio code somewhere.

I haven't started looking, I cannot get the url to work using plain either anyway, it might be a moot point.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions