|
|
|
JAVA API SETUP
LinkPoint API Adobe Acrobat PDF manual
NOTE: If your web site is hosted by GoDaddy you will NOT be able to use LinkPoint API because they block port 1129. You can try to contact Godaddy to see if they will unblock this port otherwise you will have to use the Connect option.
Before you begin using LinkPoint API you will also need to download the PEM file.
NOTE: The LinkPoint PEM can not be installed on the web server as a SSL certificate.
- Log into LinkPoint Central
- Click on Support on the top menu.
- On the left menu click on Download Center
- Click on Download PEM
- Save the file to your desktop
- Upload the PEM file to the root of your web site or any other folder.
If your web site is on a UNIX server you need to make sure you upload the file in ASCII (text) format.
JAVA
REQUIREMENTS:
Port 1129 needs to be open on the web server. Contact your web host to verify.
Must have a SSL certificate or a shared SSL (secure server).
- Download the Java API from here
- The LinkPoint PEM file will need to be converted to P12 format for Java.
You need OpenSSL to use the following command:
openssl pkcs12 -export -out 123456.p12 -in 123456.pem
You can set the export password to whatever you want.
STAGING SERVER
If you are using the staging server you also need to add the certificate on the staging server to your cacerts trusted list file.
- You can download a copy of the certificate for the staging server here and skip to step 6
- Get the certificate by going to https://staging.linkpt.net:1129 using Internet Explorer.
When the security alert box pops up, click on "View Certificate."
- Then click on the "Details" tab at the top.
- Then click on "Copy to File..." button.
- Select the DER encoded binary X.509 (.CER) format. Save the file and remember the location you saved it and its filename.
- Locate your "cacerts" file, usually in $JAVA_HOME/jre/lib/security/cacerts
- Type the following command:
keytool -import -file /path/filename.cer - keystore $JAVA_HOME/jre/lib/security/cacerts
- It will ask for a password, default password is "changeit"
|