Page MenuHomePhabricator

Extend check_sslxnn to check OCSP Stapling
Closed, ResolvedPublic

Description

Modern Net::SSLeay docs indicate this should be possible. Basically we need to set the extension to request the staple, and then check afterwards that it's a valid staple, with some configurable timing constraints on the NotBefore/NotAfter window, as well as validity of the stapling cert, etc. Given expected refresh behaviors, we probably want to be able to WARN if NotBefore gets old (e.g. >75m), and then CRIT if NotAfter is less than X hours from expiry.

Event Timeline

Change 318931 had a related patch set uploaded (by BBlack):
check_ssl: support OCSP Stapling and related

https://gerrit.wikimedia.org/r/318931

Change 318932 had a related patch set uploaded (by BBlack):
check_sslxNN: require OCSP stapling

https://gerrit.wikimedia.org/r/318932

Change 318932 abandoned by BBlack:
check_sslxNN: require OCSP stapling

https://gerrit.wikimedia.org/r/318932

Change 318931 merged by BBlack:
check_ssl: support OCSP Stapling

https://gerrit.wikimedia.org/r/318931

BBlack claimed this task.

Fixed now in check_ssl itself.