redbot icon indicating copy to clipboard operation
redbot copied to clipboard

HTTPS-specific checks

Open mnot opened this issue 16 years ago • 7 comments

RED should support HTTPS URLs as well.

This means changes in nbhttp as well as some modification of the caching logic.

mnot avatar Jun 25 '09 21:06 mnot

Looking at the state of SSL support in Python, my hopes aren't high. Specifically, it looks like making it non-blocking is going to be challenging, although the Twisted folks have done it. May be easier with py3k.

mnot avatar Jun 28 '09 13:06 mnot

Preliminary support is now in Thor; no changes needed in RED to take advantage of it.

Note that certificates are not checked, nor are any other SSL-specfic checks made (yet).

mnot avatar Nov 30 '11 09:11 mnot

HTTPS-related checks:

  • v2/v3/tls
  • HttpOnly cookies
  • cert validation (expiration, domain match, etc.)
  • ca quality
  • cipher strength
  • HSTS

mnot avatar Nov 30 '11 10:11 mnot

Also, suggest Cache-Control: public (as per UserVoice feedback)

mnot avatar Dec 24 '11 03:12 mnot

See also: https://www.owasp.org/index.php/Transport_Layer_Protection_Cheat_Sheet

mnot avatar Feb 13 '12 11:02 mnot

Thor needs to catch SSL errors in handle_read; specifically:

<class 'ssl.SSLError'>: [Errno 1] _ssl.c:1347: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure args = (1, '_ssl.c:1347: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure') errno = 1 filename = None message = '' strerror = '_ssl.c:1347: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure'

mnot avatar Jun 17 '12 01:06 mnot

Google seconds the recommendation (in some circumstances) to use Cache-Control: private for HTTPS. See https://developers.google.com/speed/docs/best-practices/caching

da2x avatar May 28 '14 18:05 da2x

There are now a number of TLS-focused site checkers out there, and I don't think REDbot wants to compete with them; it's focused on HTTP semantics, so the only things that should be checked here are when they have HTTP semantic implications. Closing this (although more specific checks may still make sense).

mnot avatar Nov 03 '23 13:11 mnot