🔻DevOps/Cloud

[AWS] https 설정하기

_니지 2022. 10. 9. 18:16

삭제 후에 다시 설치를 진행하고 설정 변경에 들어갔다
server_name을 내 도메인 명으로 바꿔줌

 

https를 위한 추가 설치
각 도메인에 SSL 인증서 받기

 

2로 선택( http로 들어오면 https로 자동 리다이렉트)

 

성공!

 

https://www.ssllabs.com/ssltest/

 

SSL Server Test (Powered by Qualys SSL Labs)

SSL Server Test This free online service performs a deep analysis of the configuration of any SSL web server on the public Internet. Please note that the information you submit here is used only to provide you the service. We don't use the domain names or

www.ssllabs.com

https://www.ssllabs.com/ssltest/에서 보안이 잘 되었는지 테스트했는데 오류 발생
https의 443포트를 열어준다
보안이 제대로 되었는지 확인!

등급이 나온다면 https가 제대로 설정됨을 알 수 있다!

자물쇠 모양과 https를 확인할 수 있다

 

-연결과정에서 오류 발생했을 때 certbot 삭제

중간에 오류가 발생해서 https연결을 지우는 과정을 반복했다

 


https://velog.io/@yeonii/Nginx%EC%97%90-HTTPS-%EC%A0%81%EC%9A%A9%ED%95%98%EA%B8%B0-Lets-Encrypt

728x90
반응형