Forum Stats

  • 3,733,833 Users
  • 2,246,829 Discussions
  • 7,856,888 Comments

Discussions

Not able to connect to SQL Server using JDK1.7

Hi Team,

I am trying to connect to SQL server using JDK 1.7 but getting below error.

Jan 27, 2021 9:11:59 AM com.microsoft.sqlserver.jdbc.TDSChannel enableSSL

INFO: java.security path: /local/opt/rc/java/jdk1.7.0_45/jre/lib/security

Security providers: [SUN version 1.7, SunRsaSign version 1.7, SunEC version 1.7, SunJSSE version 1.7, SunJCE version 1.7, SunJGSS version 1.7, SunSASL version 1.7, XMLDSig version 1.0, SunPCSC version 1.7]

SSLContext provider info: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)

SSLContext provider services:

[SunJSSE: KeyFactory.RSA -> sun.security.rsa.RSAKeyFactory

 aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]

, SunJSSE: KeyPairGenerator.RSA -> sun.security.rsa.RSAKeyPairGenerator

 aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1]

, SunJSSE: Signature.MD2withRSA -> sun.security.rsa.RSASignature$MD2withRSA

 aliases: [1.2.840.113549.1.1.2, OID.1.2.840.113549.1.1.2]

, SunJSSE: Signature.MD5withRSA -> sun.security.rsa.RSASignature$MD5withRSA

 aliases: [1.2.840.113549.1.1.4, OID.1.2.840.113549.1.1.4]

, SunJSSE: Signature.SHA1withRSA -> sun.security.rsa.RSASignature$SHA1withRSA

 aliases: [1.2.840.113549.1.1.5, OID.1.2.840.113549.1.1.5, 1.3.14.3.2.29, OID.1.3.14.3.2.29]

, SunJSSE: Signature.MD5andSHA1withRSA -> sun.security.ssl.RSASignature

, SunJSSE: KeyManagerFactory.SunX509 -> sun.security.ssl.KeyManagerFactoryImpl$SunX509

, SunJSSE: KeyManagerFactory.NewSunX509 -> sun.security.ssl.KeyManagerFactoryImpl$X509

 aliases: [PKIX]

, SunJSSE: TrustManagerFactory.SunX509 -> sun.security.ssl.TrustManagerFactoryImpl$SimpleFactory

, SunJSSE: TrustManagerFactory.PKIX -> sun.security.ssl.TrustManagerFactoryImpl$PKIXFactory

 aliases: [SunPKIX, X509, X.509]

, SunJSSE: SSLContext.TLSv1 -> sun.security.ssl.SSLContextImpl$TLS10Context

 aliases: [TLS, SSL, SSLv3]

, SunJSSE: SSLContext.TLSv1.1 -> sun.security.ssl.SSLContextImpl$TLS11Context

, SunJSSE: SSLContext.TLSv1.2 -> sun.security.ssl.SSLContextImpl$TLS12Context

, SunJSSE: SSLContext.Default -> sun.security.ssl.SSLContextImpl$DefaultSSLContext

, SunJSSE: KeyStore.PKCS12 -> sun.security.pkcs12.PKCS12KeyStore

]

java.ext.dirs: /local/opt/rc/java/jdk1.7.0_45/jre/lib/ext:/usr/java/packages/lib/ext

i am using sqljdbc41 driver to connect to SQL server.

Tagged:
Sign In or Register to comment.