Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- gitlab 잔디옮기기
- 패스트캠퍼스
- 패스트캠퍼스후기
- AWS S3 버킷 삭제
- putty Inactive
- 잔디이전
- 패캠챌린지
- Avast Security
- RedisJSON
- 한 번에 끝내는 AWS 인프라 구축과 DevOps 운영 초격차 패키지 Online
- aws s3
- AWS S3 계정이동
- vscode
- redis cli
- 캐시백챌린지
- redis-cli
- ERR unknown command 'JSON.GET'
- AWS S3 migration
- 직장인인강
- Avast 구독취소
- elastic cache
- Redis
- 환급챌린지
- Ngrinder Docker
- 직장인자기계발
- aws
- ERR unknown command 'JSON.SET'
- nodemailer
- Window redis-cli
- 캐시백
Archives
- Today
- Total
Developing
nodemailer Error: self signed certificate in certificate chain 해결방법 본문
Trouble Shooting
nodemailer Error: self signed certificate in certificate chain 해결방법
DEV_BLOG 2022. 11. 10. 15:05
local repo에서 nodemailer를 이용하려던 중 다음과 같은 메시지를 마주하게 되었다
아래 스택오버플로우에서도 제시한 내용으로도 옵션을 걸어주면 해결이 가능한 것을 확인했지만, https://stackoverflow.com/questions/46742402/error-self-signed-certificate-in-certificate-chain-nodejs-nodemailer-express
const transport = nodemailer.createTransport({
service: "Gmail",
auth: {
user: process.env.AUTH_GMAIL_USER,
pass: process.env.AUTH_GMAIL_PASS,
},
//변경부분 시작
tls: {
rejectUnauthorized: false,
},
//변경부분 끝
});
내 케이스의 경우에는 실질적으로 발생한 원인이 Avast 백신 프로그램 때문이었다. Avast 감시 제어를 꺼주면서 해당 문제가 해결되는 것을 확인하였다.
'Trouble Shooting' 카테고리의 다른 글
Putty Server Connection Timed Out (Inactive) 자주되는 현상 해결방법 (0) | 2023.07.06 |
---|---|
Authy 기기변경시 Encrypted Accounts 해결방법 (0) | 2023.06.02 |
nanoid [ERR_REQUIRE_ESM] 해결방법 : (package version에 따른 commonJS 미지원 이슈) (0) | 2022.10.26 |
node 'request.cookies' undefined 현상 해결방법 (0) | 2022.08.29 |
Redis 적용시 connection failed 해결방법 (node repo) (0) | 2022.08.24 |