Public bug reported: After upgrading from PHP5 to PHP7.2 (from Bionic), calling imap_open() against Google's Gmail servers stopped working. After researching, I've found that new OpenSSL version introduced TLSv13-related breaking changes.
Here are the relevant issues: With PHP: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916041 In fetchmail (solved): https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786 OpenSSL upstream devs have issues related to this: https://github.com/openssl/openssl/issues/5944 https://github.com/openssl/openssl/pull/5947 Looks like to me that either adding the SNI server name to the openssl open call would be needed, as done on fetchmail. ** Affects: php-imap (Ubuntu) Importance: Undecided Status: New ** Affects: uw-imap (Ubuntu) Importance: Undecided Status: New ** Description changed: - After upgrading from PHP5 to PHP7, calling imap_open() against Google's Gmail servers stopped working. + After upgrading from PHP5 to PHP7.2 (Bionic), calling imap_open() against Google's Gmail servers stopped working. After researching, I've found that new OpenSSL version introduced TLSv13-related breaking changes. Here are related issues: With PHP: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916041 In fetchmail (solved): https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786 OpenSSL upstream devs have issues related to this: https://github.com/openssl/openssl/issues/5944 https://github.com/openssl/openssl/pull/5947 Looks like to me that either adding the SNI server name to the openssl open call would be needed, as done on fetchmail. ** Description changed: - After upgrading from PHP5 to PHP7.2 (Bionic), calling imap_open() against Google's Gmail servers stopped working. + After upgrading from PHP5 to PHP7.2 (from Bionic), calling imap_open() against Google's Gmail servers stopped working. After researching, I've found that new OpenSSL version introduced TLSv13-related breaking changes. Here are related issues: With PHP: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916041 In fetchmail (solved): https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786 OpenSSL upstream devs have issues related to this: https://github.com/openssl/openssl/issues/5944 https://github.com/openssl/openssl/pull/5947 Looks like to me that either adding the SNI server name to the openssl open call would be needed, as done on fetchmail. ** Description changed: After upgrading from PHP5 to PHP7.2 (from Bionic), calling imap_open() against Google's Gmail servers stopped working. After researching, I've found that new OpenSSL version introduced TLSv13-related breaking changes. - Here are related issues: + Here are the relevant issues: With PHP: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916041 In fetchmail (solved): https://bugs.launchpad.net/ubuntu/+source/fetchmail/+bug/1798786 OpenSSL upstream devs have issues related to this: https://github.com/openssl/openssl/issues/5944 https://github.com/openssl/openssl/pull/5947 Looks like to me that either adding the SNI server name to the openssl open call would be needed, as done on fetchmail. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1834340 Title: Possible regression on libssl upgrade when using TLSv1.3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php-imap/+bug/1834340/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
