본문 바로가기
IT/JavaScript와 Framework

크롤링시 self-signed certificate in certificate chain 에러 처리

by 골든크랩 2023. 11. 13.
728x90
반응형

아래 코드를 한주 넣으느 해결됨.

//아래 코드는 Axios 코드 에러를 막기 위한 줄이다.
//AxiosError: self-signed certificate in certificate chain
//출처: https://yeonfamily.tistory.com/18 [Yeons:티스토리]
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
 

 

 

해결책은 아래 링크를 통해서 해결함.

https://yeonfamily.tistory.com/18

 

Node.js | self signed certificate (자체 서명 인증서) 에러 발생 원인과 Axios에서 해결 해보기

개요 SSL 요청 중 발생할 수 있는 self signed certificate 에러의 발생 원인과 Node.js의 Axios를 통한 해결방법을 공유해보려 합니다. self signed certificate(자체 서명 인증서) 에러 발생 원인에 대해서는 python

yeonfamily.tistory.com

 

728x90
반응형

'IT > JavaScript와 Framework' 카테고리의 다른 글

intelliJ에서 javascript 디버깅  (0) 2023.11.16
퍼온글 - 바보들을 위한 Promise 강의  (0) 2023.11.14
webhook 이란  (0) 2023.04.03
Promise 예제  (0) 2023.02.11
lodash  (0) 2023.01.10

댓글