> HttpsURLConnection, works with SunJSSE provider but does not work with other
> JSSE provider. In case of SunJSSE , HttpsURLConnection set the host name as
> follows
>
> s = (SSLSocket)serverSocket;
> if (s instanceof SSLSocketImpl) {
> ((SSLSocketImpl)s).setHost(host);
> }
>
> But in case of other providers(BouncyCastleProvider ) host will not get set
> and "java.security.cert.CertificateException: No subject alternative name
> found matching IP address" exception will be thrown.
Vyom Tewari has updated the pull request incrementally with one additional
commit since the last revision:
added a comment that host has bees set previously
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2583/files
- new: https://git.openjdk.java.net/jdk/pull/2583/files/ce940edc..bcf1fab4
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2583&range=05
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2583&range=04-05
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/2583.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2583/head:pull/2583
PR: https://git.openjdk.java.net/jdk/pull/2583