LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects

Home Page:https://linuxforhealth.github.io/FHIR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ryadav007 opened this issue · comments

          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 #2198 (comment)

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

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 <WLP_BASE> placeholder in most places (and in one place still has the old /opt/ibm path)