SSL error with Node 12 : TLS Configuration | Community
Skip to main content
Anil_Umachigi
Adobe Employee
Adobe Employee
May 25, 2021
Question

SSL error with Node 12 : TLS Configuration

  • May 25, 2021
  • 1 reply
  • 9559 views

Hello 

 

I have been having issues reaching an internal API with following error. 

write EPROTO 4390231552:error:1425F102:SSL routines

 

I guess this happens since Node.js 12's default TLS settings are stricter now.

The site doesn't handle TLS v1.2. Node 12 by default need 1.2

On my local machine, I could specify the TLS version to make this work like this "node --tls-min-v1.0 apiProd.js" 

How can I turn off the TLS verification? or make this work? 

 

Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

tmj
Adobe Employee
Adobe Employee
May 29, 2021

Hey Anil, I will check with the team if there is a way to lower the Node TLS version or any other workarounds. That being said, as you may be aware that Adobe I/O Runtime and Project Firefly are moving away from NodeJS 12 to NodeJS 14. Could you try using NodeJS 14 and see if you can work around the problem?

Anil_Umachigi
Adobe Employee
Adobe Employee
May 30, 2021

@tmj 

Thank you for getting back! 

Yes I did read about the update to NodeJS 14. I had issues updating as well. Awaiting reply to my query to kanika's post here

 

I tried updating the manifest.yml from 12 to 

runtime: 'nodejs:14' , but go an error on deploy 
 
Deploying actions
Error: Unsupported node version in action digi****/aaTrigger. Supported versions are ^10 || ^12
 
This is an existing app, wondering what's the right way to update. 
Also any new app will be 14 by default henceforth? 
 
It would be great if you could get back with an update of possible way forward. 
 
Adobe Employee
May 30, 2021

In your projects root folder is a file named package.json.  in there you need to update the node support from ^10 || ^12 to 12^ || 14^.  

I will send you a video on how to do it via messaging.  The video will be posted to YouTube Adobe Developer channel next week.

 

Cheers