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