Handshake failure when code is uploaded with Build-Suite

Handshake failure when code is uploaded with Build-Suite

Commerce Cloud API/OCAPI , Commerce Cloud Platform , Commerce Cloud Admin

Last updated 2019-09-05 ·Reference W-6482558 ·Reported By 5 users

In Review

Summary
Customers may experience SSL Handshake failures when they upload the code using the Build-Suite

Error: write EPROTO 140162281645888:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1536:SSL alert number 40

Repro
1) Download Build-Suite from GitHub link : https://github.com/SalesforceCommerceCloud/build-suite

2) Try uploading the code into Business Manager instance using Build-Suite

3) The code upload fails with the following error :

Error: write EPROTO 140162281645888:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1536:SSL alert number 40

Workaround
Till the Build-Suite code is updated. The workaround is to make the following changes

In the existing Build-Suite - grunt/tasks/dw_upload.js
replace line 152 with httpOptions.secureProtocol = 'TLSv1_2_method';

Build-Suite GitHub link : https://github.com/SalesforceCommerceCloud/build-suite

TLS 1.1 will be disabled on sandboxes and staging environments beginning in August 2019. Customer traffic not going through eCDN/Akamai Connector will have TLS 1.1 automatically disabled as wellCommerce Cloud B2C
TLS 1.1 will be disabled on production and development instances beginning in September 2019. After the 19.9 release, brands will have TLS 1.1 disabled inbound (shoppers) and outbound (3rd party calls from our pods) by default.

For more details please review : https://help.salesforce.com/articleView?id=000321556&type=1&mode=1

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.