Importing Security Certificates to Java Environment
To import the required security certificates to your Java environment:
- Access the Sync landing page in Chrome browser: https://<hostname>/datasync
- Click on Lock icon beside the URL, and click on Certificate (Valid) from the pop up window.
- Select the final certificate in the Hierarchy and click Copy to File on the Details tab.
- Click Next twice to navigate to Certificate Export wizard.
- Browse to the path where certificate should be exported and give the name as Oraclecloud_sync.cer.
- Click Next and then click Finish to complete the certificate export process.
- Navigate to the Certification Path tab, select the top certificate in hierarchy, and then click on View Certificate.
- In the Certificate wizard, select the Details tab and click Copy to File.
- Repeat steps 4, 5, and 6 to export this certificate as Oraclecloud_root.cer.
- Repeat steps 7, 8, and 9 to export second certificate in hierarchy as Oraclecloud_intermediate.cer.
- Copy the exported certificates to the machine where the sync client is being setup.
- Open a command prompt, navigate to JAVA_HOME, and execute the following commands to import certificates to your JAVA environment.
$ cd $JAVA_HOME/jre/bin
Import root certificate
$ ./keytool -import -trustcacerts -alias oraclecloud_root -keystore "$JAVA_HOME\jre\lib\security\cacerts" -file "<full path to root cer file exported earlier>"
If a message, “Certificate Already exists” is displayed, then select No, to not import it as the certificate probably already exists.
The default password for keytool is changeit.
Import Intermediate certificate
$ ./keytool -import -alias oraclecloud_intermediate -trustcacerts -keystore "$JAVA_HOME\jre\lib\security\cacerts" -file "<full path to intermediate cer file exported earlier>"
Import Sync certificate
$ ./keytool -import -alias p6 -keystore "$JAVA_HOME\jre\lib\security\cacerts" -file "<full path to Oraclecloud_sync cer file exportedearlier>"
Related Topics
Synchronizing P6 Data Between On-Premises and Cloud
Setting Up the Sync Client Application
P6 EPPM On-Premises System Architecture for CIC
Sync Client Installation Prerequisites
Option 1: Installing Sync Client in the User Interface Mode
Option 2: Installing Sync Client in the Command Mode
Last Published Thursday, December 7, 2023