Authenticating certificates

Obtain the server certificate(s) 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 questioned to "trust the certificate?", select Yes.