Open Bug 611836 Opened 14 years ago Updated 6 months ago

Implement multiple OCSP stapling extension (rfc6961)

Categories

(NSS :: Libraries, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: briansmith, Unassigned)

References

()

Details

Yngve N. Pettersen at Opera is/was working on an improvement on the OCSP stapling extension that would allow the entire cert chain to be stapled. I am not sure if he is still pursuing it or not. 

http://www.ietf.org/mail-archive/web/tls/current/msg05871.html

I know there was some discussion about making it an OCSP extension instead of a TLS extension, but IMO the TLS-based mechanism is much better:

http://www.ietf.org/mail-archive/web/tls/current/msg06765.html
Depends on: 360420
There have been complaints that multi-OCSP-stapling causes the handshake to be "too big", making the initial handshake much slower.

The caching feature proposed in bug 665739 could be useful to neutralize this addition.
See Also: → 665739
I think we should try to implement mechanisms for pre-loading/pre-fetching validity/revocation information about intermediates before we attempt to implement this. It think it is likely that we will be able to avoid needing this at all.
(In reply to Kai Engert (:kaie) from comment #1)
> There have been complaints that multi-OCSP-stapling causes the handshake to
> be "too big", making the initial handshake much slower.

If it is "too big", what if someone would create an extension to SSL/TLS to compress the certificate ?

(I suggested it before in an other forum talking about SPDY and header compression if I remember correctly)

The client would have a new extension to the client-hello to show it is supported and the server replies with the certificates compressed.

A quick check on the certificate of paypal.com shows me that gzip compression gets about 45% reducation in size.
Yngve's multi-stapling draft has now been published as RFC 6961.
(In reply to Kai Engert (:kaie) from comment #1)
> There have been complaints that multi-OCSP-stapling causes the handshake to
> be "too big", making the initial handshake much slower.
> 
> The caching feature proposed in bug 665739 could be useful to neutralize
> this addition.

Latest status on Cached-Info + Multi-Stapling:
http://www.ietf.org/mail-archive/web/tls/current/msg09566.html
Great concept, really should be implemented and pushed as being the normal practice.

During the TLS handshake a server provides a certificate chain. If it also provides stapled status for every certificate in the chain, then verification is done without having to set up extra connections to CRL or OCSP responders (and worrying about the security/reliabilty of the extra connections).

Should be combined with "Must Staple" server policies, ie. don't connect to the server unless it  provides a fully OCSP stapled certificate chain. If the server cannot get OCSP statuses for its own certificates then why should the client even bother trying. The load on CRL or OCSP responders would then just be from servers getting their stapling statuses.

From a server viewpoint:- be responsible, check all certificates in the chain have a current OCSP status before passing them to clients and include the statuses to show it. If you cannot confirm all certificates are current then don't accept connections.

It is definitely worth a bit of extra data to simplify the connection sequence.

If the servers supply the all the necessary OCSP data during handshake, is there still a need for clients to cache it?

Adrian

Note rfc6961 was obsoleted by TLS 1.3 which does not mandate multiple CertificateStatus entries for the status_request field.

Severity: normal → N/A
Priority: -- → P3
QA Contact: jjones
Summary: Implement multiple OCSP stapling extension → Implement multiple OCSP stapling extension (rfc6961)
Severity: N/A → S4
You need to log in before you can comment on or make changes to this bug.