TIL 07.18 (Nginx를 통해 certbot를 통해 SSL인증)

박선우·2022년 7월 18일
2

Nginx

목록 보기
2/4
post-thumbnail

Nginx를 통해 certbot를 통해 SSL인증 받아서 http로 들어오는 모든 요청을 https로 받아주는 작업을 해보았다.

Nginx를 사용해서 https로 서버 올리기!

  • 에러가 수십개 ..

  • SSL을 발급을 못받아 적용을 못하고 있다.. 살려줘 ..

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: www.mydomain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://www.first-sw.shop.com/.well-known/acme-challenge/7p61MUgraCZNXRQDVPbsoQ2vrN0j0DhG-0sBoNmc1SY
   400

   Domain: mydomain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://first-sw.shop/.well-known/acme-challenge/r3nwcm-_svJ48DVTK5Vu0vlYS5mM1R1gsbU12ZdvFzI
   400

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.
  • nginx /etc/nginx/nginx.conf도 수정해보고, /etc/nginx/sites-available/default 수정해 보았지만 결과는 똑같은 에러 .. 아직 미해결 ..
profile
코린이 열심히 배우자!

0개의 댓글