분류 전체보기303 Weblogic에서 HttpUrlConnection시 bad_certificate corrupt or unuseable certificate에러 웹로직에서 HttpUrlConnection을 통해 https://사이트 호출시bad_certificate corrupt or unuseable certificate 가 나는 경우가 있다. ( jdk 의 cacerts는 정상적인데도 불구하고..) 웹로직 구동시 ssl인증여부체크나 호스트네임체크를 하지않도록 옵션을 주는경우는 취약할 수 있으니 제외하고 결국 선택한 방법은.. URL객체 생성시 URL url = new URL(null, urlstr, new sun.net.www.protocol.https.Handler()); 과 HttpsUrlConnection를 사용하여 해결!원인은 웹로직에서 open.connection()시 javax.net.ssl.HttpsURLConnection대신 weblogic.n.. 2020. 1. 2. 20/1/2 오늘 공부 HttpUrlConnection심화 2020. 1. 2. JSON parse error: Cannot deserialize instance of `java.lang.Long` out of START_OBJECT token 오늘만난 에러! 원인은 컨트롤러단 코드에서 @PostMapping이 되어야하는걸 @PutMapping으로 구현하여 발생 @PutMapping("/api/v1/posts") public Long save(@RequestBody PostsSaveRequestDto requestDto){ return postsService.save(requestDto); } Error while extracting response for type [class java.lang.Long] and content type [application/json;charset=UTF-8]; nested exception is org.springframework.http.converter.HttpMessageNotReadableExcepti.. 2020. 1. 1. 20/1/1 오늘 공부 BaseTimeEntity로 엔티티 생성 관리 JPA auditing mustache 2020. 1. 1. 이전 1 ··· 33 34 35 36 37 38 39 ··· 76 다음