> On Mar 27, 2018, at 4:36 PM, Alan Carroll <solidwallofc...@oath.com.INVALID> > wrote: > > Persia should correct me if I'm wrong, but my understanding is the default > is no handling. The ATS core provides a default handler for OCSP and the > point of this call is to set this context to use the ATS core default OCSP > handler. That is how this makes OCSP easier for plugins - rather than > writing a handler, the handling is delegated to the default handler in the > ATS core. I'm open to better name suggestions, a name which conveys the > concept "use the ATS core default OCSP handler for this context".
Ah so this is for certificates (contexts) loaded via a plugin, and not the normal ssl_multicert.config way? Curious: Are we not using some API to “add” the context into the ATS handling of certificates? If so, couldn’t this be done implicitly by that API / UI or whatever it is? I.e. if a plugin hands ATS a new context, ATS calls the appropriate OpenSSL code to enable the default handling, much like it does when we load certificates via ssl_multicert.config? — leif