LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
321 stars 156 forks source link

not finding trust default Certs in server.xml Can you specify the location of server.xml file #4212

Closed ryadav007 closed 1 year ago

ryadav007 commented 1 year ago
          Confirmed successful lookup on SNOMED-CT


added the following to fhir-server-config.json (same level as "core"):

    "term": {
         "remoteTermServiceProviders": [{
            "__comment": "Configuration for public SNOMED-CT endpoint",
            "enabled": true,
            "base": "https://snowstorm-fhir.snomedtools.org/fhir",
            "supports": [{
                "system": "http://snomed.info/sct"
            }]
        }]
    },

added trustDefaultCerts="true" to server.xml:

GET https://localhost:9443/fhir-server/api/v4/CodeSystem/$lookup?system=http://snomed.info/sct&code=195967001

Originally posted by @kmbarton423 in https://github.com/LinuxForHealth/FHIR/issues/2198#issuecomment-825162378

ryadav007 commented 1 year ago

cannot find the server.xml in the directory structure 1)/usr/server/defaultServer/server.xml 2)fhir-installer/liberty-runtime/wlp2/templates/servers/defaultServer/server.xml

lmsurpre commented 1 year ago

are you using the docker image or installing the server yourself?

on the docker image, i believe the server.xml can be found at /opt/ol/wlp/usr/servers/defaultServer/server.xml

we should probably add that to the user's guide... currently it just uses the placeholder in most places (and in one place still has the old /opt/ibm path)

ryadav007 commented 1 year ago

th