430951 Support SNI with ExtendedSslContextFactory
relax cert constraints
This commit is contained in:
parent
c9d8d07a63
commit
6ec2a50cae
|
@ -96,8 +96,7 @@ public class ExtendedSslContextFactory extends SslContextFactory
|
|||
if (x509.getKeyUsage()!=null)
|
||||
{
|
||||
boolean[] b=x509.getKeyUsage();
|
||||
for (int i=0;i<b.length;i++)
|
||||
if (b[i])
|
||||
if (b[5]/* keyCertSign */)
|
||||
continue loop;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue