You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternative solution if the PR is not merged soon: add a list of names to the ADD_CERTIFICATE message, to tell the workers for which DNS names (wildcard or not) this certificate will be valid. With that, no need to parse the certificate in the worker to get the names, the configuration agent has to take care of it.
This would also require that the configuration file get a list of names for a certificate, and probably we'll keep a way to get the names from inside the worker if the list is empty. That feature is not complex, but there's a lot of small work here and there.
Activity
Geal commentedon Oct 18, 2017
depends on #254
Geal commentedon Nov 24, 2017
ok, now let's do it
Geal commentedon Nov 24, 2017
we'll probably need a way to transform something like openssl's ciphersuite string to https://docs.rs/rustls/0.11.0/rustls/struct.SupportedCipherSuite.html
Geal commentedon Dec 14, 2017
Current work is available at https://github.com/sozu-proxy/sozu/tree/rustls
I'm a bit stuck on how to get the names from a certificate: rustls/rustls#140
I also see that rustls only supports RSA for now. I'm not too fond of DSA, but elliptic curves might be useful. Relevant issues:
Geal commentedon Dec 14, 2017
next task is figuring out the common name and subject alternative names from a certificate in there, so we can use them to match in the SNI resolver: https://github.com/sozu-proxy/sozu/blob/rustls/lib/src/network/https_rustls/resolver.rs#L35-L39
Geal commentedon Jan 3, 2018
work in progress, waiting on briansmith/webpki#65 to be merged, then I'll replace that code: https://github.com/sozu-proxy/sozu/blob/rustls/lib/src/network/https_rustls/resolver.rs#L35-L44
Alternative solution if the PR is not merged soon: add a list of names to the
ADD_CERTIFICATEmessage, to tell the workers for which DNS names (wildcard or not) this certificate will be valid. With that, no need to parse the certificate in the worker to get the names, the configuration agent has to take care of it.This would also require that the configuration file get a list of names for a certificate, and probably we'll keep a way to get the names from inside the worker if the list is empty. That feature is not complex, but there's a lot of small work here and there.
briansmith commentedon Jun 16, 2018
Rustls supports ECDSA too. Previously it only supported verification, however in the latest git master it has ECDSA signing support too.
Geal commentedon Jul 29, 2021
let's mark this as done, we can make it work without the webpki PR