Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNI support? #85

Closed
mazhack opened this issue Apr 18, 2016 · 6 comments
Closed

SNI support? #85

mazhack opened this issue Apr 18, 2016 · 6 comments
Milestone

Comments

@mazhack
Copy link

mazhack commented Apr 18, 2016

Hi, fabio is amazing, i am testing it but i have a problem

Does fabio support Server name indication for wildcard certificate? How can i use ssl by domain, not only for ip?

for example:

www.domain-1.com has a specific common name www.domain-1.com certificate and

www.domain-2.com,
api.domain-2.com,
store.domain-2.com,
mobile.domain-2.com use a wilcard certificate *.domain.com

it is possible has two ssl certificates with one ip in fabio?

@magiconair
Copy link
Contributor

First: thank you :)

Second: I think you are confusing two things. A wildcard certificate allows TLS connections for all domains under *.domain.com. fabio supports wildcard certificates.

However, fabio currently does not support assigning multiple certificates (wildcard or otherwise) to the same listener. So you could not have *.domain-1.com and *.domain-2.com assigned to the same host:port. The good news is that I am working on supporting this right now.

@mazhack
Copy link
Author

mazhack commented Apr 19, 2016

Thanks for answer, i write bad common name, it was *.domain-2.com instead of *.domain.com, thanks for say it.

i am waiting for this change, it is very useful for me.

thank you again.

@mterron
Copy link

mterron commented May 13, 2016

Looks like this: https://github.com/inconshreveable/slt have all the needed functionality for TCP+SNI proxying.

@magiconair
Copy link
Contributor

@mterron yeah, I don't think it is difficult. The problem right now is that for TCP proxying support fabio needs to bring listeners up dynamically and I also need a way to express this in the configuration. Both are not difficult issues but they're also not one-line fixes either since they require some re-architecting.

@mterron
Copy link

mterron commented May 16, 2016

As a MVP can you do something like url prefix-TCP(4|6)[s]:domain[:port]? The will allow for the use of the backend to define protocol (ipv4 or ipv6) with the [s] defining if it accepts TLS. I´m not quite sure if the (optional) :port part is necessary, will have to think a little bit about that one.

@magiconair
Copy link
Contributor

I'll close this ticket and merge it with #1

magiconair added a commit that referenced this issue Jun 3, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 3, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 3, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 3, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 7, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 7, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 8, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 8, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 8, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 8, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 8, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 9, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 9, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 9, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 15, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jun 15, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
@magiconair magiconair added this to the 1.2 milestone Jun 21, 2016
magiconair added a commit that referenced this issue Jul 12, 2016
* Issue #27: change certificates via API
* Issue #28: refactor listener config
* Issue #70: support Vault
* Issue #85: SNI support
magiconair added a commit that referenced this issue Jul 16, 2016
* Issue #27: Add/remove certificates using API
* Issue #28: Refactor listener config
* Issue #70: SSL Certs from Vault
* Issue #79: Refactor config loading to use flag sets
* Issue #85: SNI Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants