From: knu@... Date: 2019-04-09T23:27:59+00:00 Subject: [ruby-core:92226] [Ruby trunk Feature#15594] [PATCH] net/imap: support SNI Issue #15594 has been updated by knu (Akinori MUSHA). Here's a possible workaround: ```ruby require 'net/protocol' class Net::Protocol module ForceSNI def ssl_socket_connect(*) @sock.hostname = @host if @sock.respond_to? :hostname= super end end prepend ForceSNI end ``` ---------------------------------------- Feature #15594: [PATCH] net/imap: support SNI https://bugs.ruby-lang.org/issues/15594#change-77564 * Author: Keruspe (Marc-Antoine Perennou) * Status: Assigned * Priority: Normal * Assignee: shugo (Shugo Maeda) * Target version: ---------------------------------------- This fixes connecting using TLS 1.3 to imap.gmail.com See https://github.com/ruby/openssl/issues/238 and https://github.com/ruby/ruby/pull/2077 ---Files-------------------------------- 0001-net-imap-support-SNI.patch (914 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: