Export to MS Project XML fails with "RSA Premaster Secret Error" (Doc ID 2045346.1)

Last updated on JULY 14, 2017

Applies to:

Primavera P6 Professional Project Management - Version 8.3.2.0 and later
Primavera P6 Enterprise Project Portfolio Management - Version 8.3.2.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to export to MS Project XML file,
the following error occurs.

ERROR
-----------------------
com.primavera.PhoenixException: Unable to resolve privileged username and password
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "RSA premaster secret error".
at com.primavera.infr.db.PrivUserResolver.(PrivUserResolver.java:129)
at com.primavera.infr.admin.CfgAccessMgr.a(CfgAccessMgr.java:106)
at com.primavera.infr.admin.CfgAccessMgr.(CfgAccessMgr.java:83)
at com.primavera.integration.app.importexport.ImportExportAction.g(ImportExportAction.java:675)
at com.primavera.integration.app.importexport.ImportExportAction.a(ImportExportAction.java:154)
at com.primavera.integration.app.importexport.ImportExportMain.main(ImportExportMain.java:32)
Original Exception:
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "RSA premaster secret error".
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1412)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1058)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.primavera.infr.db.PrivUserResolver.(PrivUserResolver.java:102)
at com.primavera.infr.admin.CfgAccessMgr.a(CfgAccessMgr.java:106)
at com.primavera.infr.admin.CfgAccessMgr.(CfgAccessMgr.java:83)
at com.primavera.integration.app.importexport.ImportExportAction.g(ImportExportAction.java:675)
at com.primavera.integration.app.importexport.ImportExportAction.a(ImportExportAction.java:154)
at com.primavera.integration.app.importexport.ImportExportMain.main(ImportExportMain.java:32)
Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
at sun.security.ssl.RSAClientKeyExchange.(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverHelloDone(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1379)
... 12 more
Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available
at javax.crypto.KeyGenerator.(KeyGenerator.java:169)
at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:223)
at sun.security.ssl.JsseJce.getKeyGenerator(Unknown Source)
... 22 more

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Launch P6 Professional
2. File - Export - MS Project XML
3. Error occurs

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms