<div dir="ltr">Just saw this thread after responding to the other:<div><br></div><div>I'm in favor of Evgeny's proposal. It sounds like it should resolve most (if not all) of the operators', vendors' and users' concerns with regard to handling TLS certificates.</div>
<div><br></div><div>Stephen</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 16, 2014 at 12:35 PM, Carlos Garza <span dir="ltr"><<a href="mailto:carlos.garza@rackspace.com" target="_blank">carlos.garza@rackspace.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Jul 16, 2014, at 10:55 AM, Vijay Venkatachalam <<a href="mailto:Vijay.Venkatachalam@citrix.com">Vijay.Venkatachalam@citrix.com</a>><br>
<div class=""> wrote:<br>
<br>
> Apologies for the delayed response.<br>
><br>
> I am OK with displaying the certificates contents as part of the API, that should not harm.<br>
><br>
> I think the discussion has to be split into 2 topics.<br>
><br>
> 1. Certificate conflict resolution. Meaning what is expected when 2 or more certificates become eligible during SSL negotiation<br>
> 2. SAN support<br>
><br>
<br>
</div> Ok cool that makes more sense. #2 seems to be met by Evgeny proposal. I'll let you folks decide the conflict resolution issue #1.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> I will send out 2 separate mails on this.<br>
><br>
><br>
> From: Samuel Bercovici [mailto:<a href="mailto:SamuelB@Radware.com">SamuelB@Radware.com</a>]<br>
> Sent: Tuesday, July 15, 2014 11:52 PM<br>
> To: OpenStack Development Mailing List (not for usage questions); Vijay Venkatachalam<br>
> Subject: RE: [openstack-dev] [Neutron][LBaaS] TLS capability - SNI - Extracting SubjectCommonName and/or SubjectAlternativeNames from X509<br>
><br>
> OK.<br>
><br>
> Let me be more precise, extracting the information for view sake / validation would be good.<br>
> Providing values that are different than what is in the x509 is what I am opposed to.<br>
><br>
> +1 for Carlos on the library and that it should be ubiquitously used.<br>
><br>
> I will wait for Vijay to speak for himself in this regard…<br>
><br>
> -Sam.<br>
><br>
><br>
> From: Stephen Balukoff [mailto:<a href="mailto:sbalukoff@bluebox.net">sbalukoff@bluebox.net</a>]<br>
> Sent: Tuesday, July 15, 2014 8:35 PM<br>
> To: OpenStack Development Mailing List (not for usage questions)<br>
> Subject: Re: [openstack-dev] [Neutron][LBaaS] TLS capability - SNI - Extracting SubjectCommonName and/or SubjectAlternativeNames from X509<br>
><br>
> +1 to German's and Carlos' comments.<br>
><br>
> It's also worth pointing out that some UIs will definitely want to show SAN information and the like, so either having this available as part of the API, or as a standard library we write which then gets used by multiple drivers is going to be necessary.<br>
><br>
> If we're extracting the Subject Common Name in any place in the code then we also need to be extracting the Subject Alternative Names at the same place. From the perspective of the SNI standard, there's no difference in how these fields should be treated, and if we were to treat SANs differently then we're both breaking the standard and setting a bad precedent.<br>
><br>
> Stephen<br>
><br>
><br>
> On Tue, Jul 15, 2014 at 9:35 AM, Carlos Garza <<a href="mailto:carlos.garza@rackspace.com">carlos.garza@rackspace.com</a>> wrote:<br>
><br>
> On Jul 15, 2014, at 10:55 AM, Samuel Bercovici <SamuelB@Radware.com><br>
> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> ><br>
> > Obtaining the domain name from the x509 is probably more of a driver/backend/device capability, it would make sense to have a library that could be used by anyone wishing to do so in their driver code.<br>
><br>
> You can do what ever you want in *your* driver. The code to extract this information will be apart of the API and needs to be mentioned in the spec now. PyOpenSSL with PyASN1 are the most likely candidates.<br>
><br>
> Carlos D. Garza<br>
> ><br>
> > -Sam.<br>
> ><br>
> ><br>
> ><br>
> > From: Eichberger, German [mailto:<a href="mailto:german.eichberger@hp.com">german.eichberger@hp.com</a>]<br>
> > Sent: Tuesday, July 15, 2014 6:43 PM<br>
> > To: OpenStack Development Mailing List (not for usage questions)<br>
> > Subject: Re: [openstack-dev] [Neutron][LBaaS] TLS capability - SNI - Extracting SubjectCommonName and/or SubjectAlternativeNames from X509<br>
> ><br>
> > Hi,<br>
> ><br>
> > My impression was that the frontend would extract the names and hand them to the driver. This has the following advantages:<br>
> ><br>
> > · We can be sure all drivers can extract the same names<br>
> > · No duplicate code to maintain<br>
> > · If we ever allow the user to specify the names on UI rather in the certificate the driver doesn’t need to change.<br>
> ><br>
> > I think I saw Adam say something similar in a comment to the code.<br>
> ><br>
> > Thanks,<br>
> > German<br>
> ><br>
> > From: Evgeny Fedoruk [mailto:<a href="mailto:EvgenyF@Radware.com">EvgenyF@Radware.com</a>]<br>
> > Sent: Tuesday, July 15, 2014 7:24 AM<br>
> > To: OpenStack Development Mailing List (not for usage questions)<br>
> > Subject: [openstack-dev] [Neutron][LBaaS] TLS capability - SNI - Extracting SubjectCommonName and/or SubjectAlternativeNames from X509<br>
> ><br>
> > Hi All,<br>
> ><br>
> > Since this issue came up from TLS capabilities RST doc review, I opened a ML thread for it to make the decision.<br>
> > Currently, the document says:<br>
> ><br>
> > “<br>
> > For SNI functionality, tenant will supply list of TLS containers in specific<br>
> > Order.<br>
> > In case when specific back-end is not able to support SNI capabilities,<br>
> > its driver should throw an exception. The exception message should state<br>
> > that this specific back-end (provider) does not support SNI capability.<br>
> > The clear sign of listener's requirement for SNI capability is<br>
> > a none empty SNI container ids list.<br>
> > However, reference implementation must support SNI capability.<br>
> ><br>
> > Specific back-end code may retrieve SubjectCommonName and/or altSubjectNames<br>
> > from the certificate which will determine the hostname(s) the certificate<br>
> > is associated with.<br>
> ><br>
> > The order of SNI containers list may be used by specific back-end code,<br>
> > like Radware's, for specifying priorities among certificates.<br>
> > In case when two or more uploaded certificates are valid for the same DNS name<br>
> > and the tenant has specific requirements around which one wins this collision,<br>
> > certificate ordering provides a mechanism to define which cert wins in the<br>
> > event of a collision.<br>
> > Employing the order of certificates list is not a common requirement for<br>
> > all back-end implementations.<br>
> > “<br>
> ><br>
> > The question is about SCN and SAN extraction from X509.<br>
> > 1. Extraction of SCN/ SAN should be done while provisioning and not during TLS handshake<br>
> > 2. Every back-end code/driver must(?) extract SCN and(?) SAN and use it for certificate determination for host<br>
> ><br>
> > Please give your feedback<br>
> ><br>
> > Thanks,<br>
> > Evg<br>
> > _______________________________________________<br>
> > OpenStack-dev mailing list<br>
> > <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
><br>
> --<br>
> Stephen Balukoff<br>
> Blue Box Group, LLC<br>
> <a href="tel:%28800%29613-4305%20x807" value="+18006134305">(800)613-4305 x807</a><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span></span>Stephen Balukoff
<br>Blue Box Group, LLC
<br>(800)613-4305 x807
</div>