2013/10/16 썸네일형 리스트형 Java-HTTPS 주소의 파일 다운로드 HTTPS 건 HTTP건 일반적인 환경에서 URL 접속은 대게 아래와 같이 사용하고 있습니다. URL url = new URL("https://hostname:port/file.txt"); URLConnection connection = url.openConnection(); InputStream is = connection.getInputStream(); // .. then download the file 하지만 HTTPS 환경에서는 server 인증서가 없거나 지정하지 않을 경우 아래와 같은 오류를 만나게 됩니다. avax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:.. 이전 1 다음