2016년 4월 12일 화요일

AWS + Nginx에서 letsencrypt 설정

letsencrypt를 이용하여 SSL인증서를 받으려 시도했다.
sudo ./letsencrypt-auto certonly --standalone

하지만 다음과 같은 메세지와 함께 계속해서 실패했다.

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

   Domain: potenup.co.kr
   Type:   connection
   Detail: Failed to connect to host for DVSNI challenge

   Domain: www.potenup.co.kr
   Type:   connection
   Detail: Failed to connect to host for DVSNI challenge

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.


방법을 찾던중 443 포트가 열려 있어야함을 알게 되었고
AWS console에서 443 TCP 포트를 열어 해결했다.

댓글 없음:

댓글 쓰기