_00020 you that Yi smile _ who's unusually weird the first phase of SQL Server RSA premaster secret error

Source: Internet
Author: User

BlogYou're the one with the smile
Blog Address:http://blog.csdn.net/u012185296
Post title:_00020 you that Yi smile _ who's unusually weird the first phase of SQL Server RSA premaster secret error
Personality Signature:The furthest distance in the world is not the horizon, nor the cape, but I stand in front of you, but you do not feel my presence
Technical Direction:Flume+kafka+storm+redis/hbase+hadoop+hive+mahout+spark ... Cloud Computing Technology
Reprint statement:can be reproduced, but must be in the form of hyperlinks to the original source of the article and the author's information and copyright notice. Thank you for your cooperation!
QQ Exchange Group:214293307 (look forward to learning with you.) Common progress)


# sql Server who's the weirdest issue of the first phase# 1 Com.microsoft.sqlserver.jdbc.SQLServerException:The drivercould not establish a secure connection to SQL Server b Y using Secure socketslayer (SSL) encryption. Error:rsa premaster secret error.

[Email protected] classes]# java-xms512m-xmx2048m-djava.ext.dirs=. /lib className Parameters

Jul, 4:24:17 PMcom.microsoft.sqlserver.jdbc.TDSChannel Enablessl

Warning:tdschannel (connectionid:1transactionid:0x0000000000000000)SSL handshake Failed:rsa Premaster Secret Error

SQLException: Com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by Usingsecure Sockets Layer (SSL) encryption. Error:rsa premaster Secret Error.

Analysis: The local Java connection to SQL Server is not a problem. When you upload the program to the server and then run the Java program, you will get this error, no words 、、、 just finally find out the reason. Note: This is a problem when connecting to SQL Server . There is an old and beautiful legend, legend JDK1.7 built-in Sunjce_provider.jar this jar package

reason: missing Sunjce_provider.jar the jar package

Workaround: Add the jar package to java-xms512m-xmx2048m-djava.ext.dirs=. /lib in this command : /lib folder.

I hope to help the friends who have also appeared the same question 、、、

# time:2014-07-10 17:21:35

_00020 you that Yi smile _ who's unusually weird the first phase of SQL Server RSA premaster secret error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.