Re: [PATCH v5] http: add http.sslVerifyStatus to check stapled OCSP responses
Junio C Hamano <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
graysongordon-gl <[email protected]> writes: > +http.sslVerifyStatus:: > + Whether to check the revocation status of the server > + certificate using the stapled OCSP response supplied during > + the TLS handshake ("OCSP stapling"). Defaults to false. > ++ > +This is fail-closed: if the server staples no response, verification > +fails. Set it per remote, e.g. > +`http.https://example.com/.sslVerifyStatus`, rather than globally. I do not see us describe a knob or setting that can stop the operation depending on some condition as "fail-closed". Can we rephrase this for regular human beings? Perhaps Whether to refuse connecting to the server when its certificate has been revoked. Default to false, allowing connection even when its certificate is not known to be still valid. or something like that might be a good starting point. After all, the "check revocation and/or validity" is *not* the primary objective from the end-user's point of view. Ensuring that they do not talk to suspicious servers is. Thanks.