Jump to content

Recommended Posts

Posted

Node js SSL error Fix ki help kaavali 

 getting error npm err: code self signed cert in chain 

In config I can see strict ssl = false 

 

 

Posted
1 minute ago, veerigadu said:

@csrcsr please help the needful. Anna helping nature lo Oscar level 

sorry anna no node knowledge

  • Haha 1
Posted
Just now, csrcsr said:

sorry anna no node knowledge

No jokes anna please. Neeku theliyanidhiii software field lo edhainaaa undha?? Not nammablee

  • Haha 1
  • Sad 1
Posted
26 minutes ago, Fish said:

Node js SSL error Fix ki help kaavali 

 getting error npm err: code self signed cert in chain 

In config I can see strict ssl = false 

 

 

give more details please....

are you trying to install npm package which has self signed certificate..and you node.js is throwing error because it is selfsigned..?

or

are you trying to configure your node.js server (expree.js) with https..?

which scenario...?

Posted
29 minutes ago, Fish said:

Node js SSL error Fix ki help kaavali 

 getting error npm err: code self signed cert in chain 

In config I can see strict ssl = false 

 

 

apatlooo @Pitta medha nuvve kadha post lu vesav edo help ani , matter enti? 

  • Thanks 1
Posted
31 minutes ago, Fish said:

Node js SSL error Fix ki help kaavali 

 getting error npm err: code self signed cert in chain 

In config I can see strict ssl = false 

 

 

delete ssl flag from  .npmrc and try run this again and see 

npm config set strict-ssl false

 

if that doesn't work , download cert file from npmjs and use set ca to that certificate path , before that if you are beyond corporate ***** , use your network id and password 

  • Thanks 1
Posted
7 minutes ago, ramudu said:

delete ssl flag from  .npmrc and try run this again and see 

npm config set strict-ssl false

 

if that doesn't work , download cert file from npmjs and use set ca to that certificate path , before that if you are beyond corporate ***** , use your network id and password 

by default strict-ssl false ee vuntundi bro...

TS ki kooda aa falg false vundi...

  • Thanks 1
Posted
11 minutes ago, dasari4kntr said:

give more details please....

are you trying to install npm package which has self signed certificate..and you node.js is throwing error because it is selfsigned..?

or

are you trying to configure your node.js server (expree.js) with https..?

which scenario...?

spring boot projects untey give no

  • Thanks 1
Posted
48 minutes ago, Fish said:

Node js SSL error Fix ki help kaavali 

 getting error npm err: code self signed cert in chain 

In config I can see strict ssl = false 

 

 

 

16 minutes ago, ramudu said:

delete ssl flag from  .npmrc and try run this again and see 

npm config set strict-ssl false

 

if that doesn't work , download cert file from npmjs and use set ca to that certificate path , before that if you are beyond corporate ***** , use your network id and password 

npm config ls -l

ee command execute chese...any duplicate stric-ssl vunnyemo choodu...

sometimes..there will be multiple keys with same name...

 

if there is multiple keys...check the comments next to the keys...if there is no comment delete it...and maintain only only one flag...that is false...

  • Thanks 1
Posted
1 hour ago, dasari4kntr said:

give more details please....

are you trying to install npm package which has self signed certificate..and you node.js is throwing error because it is selfsigned..?

or

are you trying to configure your node.js server (expree.js) with https..?

which scenario...?

The issue was happening when trying to install npm package 

Posted

If you want to fix in local for debugging, add NODE_TLS_UNAUTHORIZED=0 in env variable

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...