1 개요[ | ]
Console
Copy
root@localhost:~# node -v
v12.22.1
root@localhost:~# npm -v
6.14.12
root@localhost:~# export NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/my.crt
root@localhost:~# npm install ssl-root-cas
npm ERR! code UNSPECIFIED
npm ERR! errno UNSPECIFIED
npm ERR! request to https://registry.npmjs.org/ssl-root-cas failed, reason: CA certificate key too weak
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-04-20T10_41_50_061Z-debug.log
Console
Copy
root@localhost:~# sed 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/' -i /etc/ssl/openssl.cnf
root@localhost:~# npm install ssl-root-cas
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
...
2 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.