When converting documents, that are only accessible via HTTPS, it may be necessary to import the server certificates into Java. Please use the following steps (on Windows, on Linux equivalent):
- Exporting the certificate
- If you haven't done so before, accept the certificate when loading a document from your server in your browser.
In Internet Explorer:
- Under "Extras/Internet Options/Content/Certificates", select the certificate and click "Export"
- In the export wizard, choose one of the "X.509" options (the X.509 DER format is recommended) and a file name of your choice.
In Firefox:
- The certificates can be found in "Options/Options/Advanced/Encryption".
- After clicking on "View certificates", select the certificate in the list and click on "Export".
- Creating the Java keystore
- The required command line tool "keytool" can be found in the "bin" folder of your Java installation.
- The call to this tool should look like this:
keytool -import -alias pdfcert -file c:pdfcert.cer -noprompt -keystore c:pdfcert.keystore -v -storepass 123456
Please adjust paths and file names according to your environment:
"alias" can be chosen freely
"file" is the certificate from step a.
"keystore" is the keystore file to be created "storepass" is the password of the keystore file (can be chosen freely, 6 characters minimum)
- Passing the keystore file as a parameter when starting the Java VM for PDFreactor:
Start the Java VM with the parameter "-Djavax.net.ssl.trustStore=c:pdfcert.keystore" (replace "c:pdfcert.keystore" with the path and name of your keystore file).
After following these steps, converting documents from this server using HTTPS should work correctly. If necessary this steps can be repeated for other servers.