Authenticating certificates

Obtain the server certificates that are required for the service endpoint connection. You can do this by navigating to the web service endpoint with a browser and saving the certificates to your local file system.

Note: There is a utility com.lawson.dataservices.webserviceinterface.CertificateHelper that navigates to an endpoint and detects certificates, then saves them locally.
  1. Navigate to your Java Virtual Machine's (JVM's) keystore location. This keystore is used by the Landmark server.
    Note: Most Java Development Kit's (JDK's) are located at %LAW_JAVA_HOME%/jre/lib/security.
  2. Import the web service server certificate to the cacerts keystore.
    Note: 
    • keytool -import -keystore cacerts -alias $certificate.alias -file $certificate.filename

    • Default password for cacerts keystore is changeit.

    • When the trust the certificate window is displayed, select Yes.