InterFormNG2 offers various integrations with other systems. Some of these integrations require a secure connection encrypted with TLS.
If the service we integrate with requires a secure connection using HTTPS, SMTPS, or SMTP/startTLS, then InterFormNG2 requires a valid and trusted certificate in the Java runtime environment.
Certificate Validation Requirement
If the certificate is invalid or not trusted, you may encounter an error message such as:

PKIX path building failed... Unable to find valid certification path to requested target
If the target server is hosted on-premise, we highly recommend obtaining a certificate from a trusted certificate authority (CA) and installing it on the target server.
Alternative Solution
Alternatively, you may install the untrusted certificate into the Java runtime trust store (cacerts).
However, this procedure is NOT covered by the InterForm support agreement.
Checking Trusted Certificate Authorities in Java
To see a list of all certificate authorities trusted by Java, run the following command in the JAVA_HOME directory:
keytool -keystore "jre\lib\security\cacerts" \
-storepass changeit \
-list
In a standard Windows installation of InterFormNG2, the JAVA_HOME directory is the same as the InterFormNG2 installation directory.
Integrations Requiring a Valid Certificate
The following integrations may require a valid certificate on the target server:
- E-mail Server
- ActiveMQ
- IBM MQ
- InterSigning
- Office365 SharePoint
- Nextway Next
- d.velop documents
- eSignAnyWhere
- DigitalSign
- IDM
Self-Signed Certificates Policy
Self-signed certificates are NOT covered by the standard InterForm support agreement.
If assistance is required for self-signed certificates, support may be provided as a paid service.
Handling "PKIX path building failed" Error
If you encounter an error similar to:

PKIX path building failed: XXXX: unable to find valid certification path to requested target.
One possible solution is to install the certificate in the Java runtime trust store (cacerts).
Important Notes Before Proceeding
- Backup the cacerts file before installation.
- Consult your system administrator before making changes, as this affects the entire machine.
- You will need to reinstall the certificate if Java is upgraded in the future.
- InterForm is not responsible for any issues arising from executing the steps below.
Installing a Certificate on IBM i (AS/400)
Step 1: Start QSHELL
Run the following command to start QSHELL:
STRQSH
Step 2: Install the Certificate
Execute the following command, replacing the file path and alias as needed:
keytool -import \
-file /home/mydir/ca.cer \
-alias CertAuth \
-keystore /QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/jre/lib/security/cacerts \
-storepass changeit \
-noprompt
Parameters:
/home/mydir/ca.cer → Replace with the actual path and filename of the certificate.
/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit/jre/lib/security/cacerts → Path to the Java runtime trust store.