Project

General

Profile

Actions

Feature #15009

closed

Add negotiated SSL protocol and cipher to Net::HTTP debug output

Added by bdewater (Bart de Water) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
[ruby-core:88554]

Description

This makes is easier to verify what Ruby has negotiated with the server. An example of why you'd want to double check; for credit card payment data the PCI DSS mandates that TLS 1.1 or newer is used after June 30.

Example output:

opening connection to stripe.com:443...
opened
starting SSL for stripe.com:443...
SSL established, protocol: TLSv1.2, cipher: ECDHE-RSA-AES128-GCM-SHA256

Patch: https://github.com/ruby/ruby/pull/1877/files

Actions

Also available in: Atom PDF

Like0
Like0Like0