STREAM_CRYPTO_METHOD_TLS_CLIENT to STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT

EasyApache 4
My Mautic version is: 45_mautic-449
My PHP 80, PHP 8.0.29-1.1.3.cpanel
extention: php80-php-fileinfo
cPanel & WHM on AlmaLinux
OS: AlmaLinux v8.8.0 STANDARD kvm
cPanel Version 112.0.5

Support Ticket

How do I change the STREAM_CRYPTO_METHOD_TLS_CLIENT to STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT (or other version) in /mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php

Visit the following URL link, StreamBuffer.php, Nat Lookup · GitHub

Visit the Summary of the TLS encryption (STARTTLS) Error Message, Nat Lookup · GitHub

Generally you do not change code of php dependencies.

You could of course change the code in those php files and clear the cache and if everything is done right, instance should work.

But you can also make your instance completely unusable so proceed with caution.

Regards, M.