Issue #15009 has been reported by bdewater (Bart de Water).

----------------------------------------
Feature #15009: Add negotiated SSL protocol and cipher to Net::HTTP debug output
https://bugs.ruby-lang.org/issues/15009

* Author: bdewater (Bart de Water)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
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](https://blog.pcisecuritystandards.org/are-you-ready-for-30-june-2018-sayin-goodbye-to-ssl-early-tls) 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



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>