How to fix Magento 2 ( Adobe commerce ) error: (from server logs ) [crit] SSL_do_handshake() failed (SSL routines:tls_parse_ctos_key_share:bad key share) while SSL handshaking ( usually happening with nginx )?

This error happening since Magento 2 ( Adobe commerce ) blocked some old SSL protocols and cant connect with server. We can allow one of them like this:

Edit file <magento root>/vendor/magento/framework/HTTP/Adapter/Curl.php

find this row:

        'verifyhost' => 2

Replace it with this:

        'verifyhost' => 2,
        'sslversion' => 'TLSv1'

switch magento 2 ( adobe commerce ) to developer mode using deveoper ( using ssh under magento 2 host user ):

/bin/magento deploy:mode:set developer
or short
/bin/magento dep:mo:se developer

After this you will need to run next commend in ssh in <magento root>

/bin/magento setup:upgrade
or short
/bin/magento se:upgr

Done!

want to thank me

https://goaskle.com/en/donation/