반응형 SSL2 Nginx HTTPS SSL 설정하기(Nginx, Let's Encrypt, EC2) EC2 인스턴스에 HTTPS를 적용하려면 우선 SSL 인증서를 발급받아야 한다.무료로 SSL 인증서를 받을 수 있는 Let's Encrypt를 사용했다. 1. Certbot 설치Certbot: Let's Encrypt 인증서를 발급받고 자동갱신 하기 위함$ sudo apt-get update$ sudo apt-get install certbot python3-certbot-nginx 2. SSL 인증서 발급sample.com과 www.sample.com 부분에 실제 도메인을 넣어준다.# sudo certbot --nginx -d $ sudo certbot --nginx -d sample.com 3. 인증서 자동 갱신 설정Let's Encrypt를 사용해서 발급된 인증서는 3개월 동안 유효하다. 아래 명령.. 2024. 9. 3. Nodejs-MongoDB connection error: openssl MongoDB Atlas에서 갑자기 [Alert] You're nearing the maximum connections threshold 라는 제목으로 메일이 왔다.내용을 보아하니 You are receiving this alert email because connections to your cluster(s) have exceeded your threshold, and is nearing the connection limit for the M0 cluster... 라는 내용이다. MongoDB를 연결해서 쓰고 있는 Node.js 프로젝트 로그를 보아하니 아래 메시지가 있었다. 분명 잘 구동되던 것이었는데! mongo connection error! 00216A5BF87F0000:error:0A00043.. 2024. 7. 8. 이전 1 다음 반응형