-
[spring boot] keystore file not found 에러Web/Spring boot 2021. 10. 15. 22:34
keystore를 사용해 ssl을 적용하니 로컬에서 작동이 되었다.
하지만... 개발서버에 반영하니 바로 에러 빠방
keystore을 찾을수 없다는 에러... 해결방법은 간단했다.
server: ssl: key-store: classpath:keystore.p12
application.yml파일에서 key-store경로를 classpath:파일명 으로 변경하는 것이었다.
내 keystore파일의 경로는 src/main/resources/ 이다.
https://stackoverflow.com/questions/55364537/spring-java-app-not-finding-the-keystore-file
Spring Java app not finding the keystore file
I am trying to set up a simple Spring application to use SSL and host it on Digital Ocean. Why is my app not finding the keystore file? The droplet I've set up is based on Ubuntu 18.04. I used
stackoverflow.com
https://jinsiri.tistory.com/584
[Spring boot] SSL 적용하기
회사에서 로컬에서 테스트를 https로 해야할 일이 생겼다. spring boot 프로젝트에서 설정하니 바로 적용되었다. 1. intellij 터미널 ( 프로젝트 루트 ) keytool -genkey -alias bns-ssl -storetype PKCS12 -keyal..
jinsiri.tistory.com
반응형'Web > Spring boot' 카테고리의 다른 글
[log4j이슈] logback버전 변경시 Failed to load class "org.slf4j.impl.StaticLoggerBinder" 에러 (0) 2021.12.24 [Spring] bean의 scope ( feat. request, session 외에도 또있다) (0) 2021.12.16 [Spring boot] SSL 적용하기 (0) 2021.10.08 [spring boot] 로컬에서 이미지 경로 못찾음 (0) 2021.09.24 [spring] redirect 파라미터 없애기 (0) 2021.07.08