카테고리 없음

크롬브라우저 업데이트에 따른 보안이슈 - tomcat redirect

기기디 2020. 12. 18. 15:24

크롬 87업데이트에서 https에서 http로 redirect 안전하지 않은 정보를 제출하려 함이라는 에러 페이지가 출력된다

www.bleepingcomputer.com/news/google/chrome-87-released-with-performance-boost-and-security-fixes/

 

Chrome 87 released with performance boost and security fixes

Google has released Chrome 87 today, November 17th, 2020, to the Stable desktop channel, and it includes numerous performance improvements, security fixes, and new features.

www.bleepingcomputer.com

 

Apache - spring imbedded tomcat환경으로 개발중에 리다이렉트시 

 

특정페이지에서 https -> http로 리다이렉트 되는경우가 발생함에 따라서 다음과 같은 페이지가 출력됐다.

 

톰캣 커넥터설정에서 proxyPort를 설정해주는 방법도 있었지만, 내장톰캣의 경우 어떻게 해야 할 지 몰라

 

appilcation.yml파일에서 다음과 같이 설정하여 일단 해결했다.

 

server.tomcat.use-relative-redirects : true

 

참조 - docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html#server.tomcat.use-relative-redirects