How to fix «error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm» while executing «composer require» command?

composer
ssl
git
composer-require
command-line
(Dmitry Fedyuk) #1
[RuntimeException]                                                                                                                            Failed to execute git clone --no-checkout 'https://code.dmitry-fedyuk.com/m2e/stripe.git' '/home/aspirede/public_html/vendor/mage2pro/stripe' && cd '/home/aspirede/public_html/vendor/mage2pro/stripe' && git remote add composer 'https://code.dmitry-fedyuk.com/m2e/stripe.git' && git fetch composer
error: error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm while accessing https://code.dmitry-fedyuk.com/m2e/stripe.git/info/refs                                                                        
fatal: HTTP request failed 

The cause of this error is an outdated and vulnerable (learn about Heartbeed) OpenSSL version.

You can check your OpenSSL version with the command:

openssl version

You should upgrade OpenSSL.

0 Likes

How to add Mage2.PRO packages to the Magento 2 root composer.json file