Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Service configuration

The following section explains the different parameters needed to configure a Debbie service deployment.



Note
titleCase sensitive

All policy Debbie configuration field values are case sensitive.




The server object defines the properties necessary to run the embedded Web server. By default the debbie.json file provided is setup to run the Web server on the following URL: "http://localhost:8080/"


FieldRequiredDescriptionDefault/Example
licenseyesLicense key provided by CertiSur.20180814032223:dW5pdm.............RA==
ipyesWeb server IP address127.0.0.1
portyesWeb server port number.8080
protocolyesWeb server protocol.http
minThreadPoolyesMinimum number of Web server threads.10
maxThreadPoolyesMaximum number of Web server threads.30
timeoutyesInternal Web server timeout.5000

  

Code Block
languagegroovy
themeEclipse
titleServer configuration
{
  "server": {
    "license": "20180814032223:dW5pdmVyc2FsPVo.............RA==",
    "ip": "127.0.0.1",
    "port": 8080,
    "protocol": "http",
    "minThreadPool": 10,
    "maxThreadPool": 30,
    "timeout": 5000
  }
}


For those environments where an SSL proxy / balancer is not available, an SSL certificate can be configured using the ssl object key in the server object definition. For more details of this feature check the user manual.


Code Block
languagegroovy
themeEclipse
titleSSL Configuration example
{
  "server": {
    ...
    "ssl": {
      "keyStoreFile": "ssl/keystore",
      "keyStorePassword": "OBF:1vny1zlp2x9e6vmw1vn61x8g1zau2vn4",
      "keyManagerPassword": "OBF:1u3u4wmn4z5s1z7a5wnl1u2g"
    },
    ...
  }
}


If you use a proxy server to download the CRLs or obtain OCSP responses, the proxy object key must be added in the server object definition.


Code Block
languagegroovy
themeEclipse
titleSample Proxy Access configuration
{
  "server": {
    ...
    "proxy": {
      "server": "proxy.internal.local",
      "port": 3128
    },
    ...
  }
}




The debbie object defines the properties necessary to run the validation service.


FieldRequiredDescriptionDefault
cacheDiryesPath where offline CRL files are stored when a download script is used.cache/
policyDiryesPath where the validation policies are stored.policies/

documentRepositoryDir

noPath where uploaded documents are stored./tmp
urlMaxRedirectsyesNumber of URL redirects supported to access CRL distribution points and OCSP responders.1
crlConnectionTimeoutyesCRL distribution point connection timeout. (msec)2000
crlReadTimeoutyesCRL distribution point read timeout. (msec)5000
ocspConnectionTimeoutyesOCSP responder connection timeout. (msec)2000
ocspReadTimeoutyesOCSP responder read timeout. (msec)5000


Code Block
languagegroovy
titleSample "debbie.json" contents for the "debbie" Object
{
  "debbie": {
    "cacheDir": "cache/",
    "policyDir": "policies/",
    "documentRepositoryDir": "/app/repository",
    "urlMaxRedirects": 1,
    "crlConnectionTimeout": 2000,
    "crlReadTimeout": 5000,
    "ocspConnectionTimeout": 2000,
    "ocspReadTimeout": 5000
  }
}




Following is the content of the "debbie.json" demo configuration file included in with the validation service distribution.


Code Block
languagegroovy
titleSample Debbie demo configuration file
{
  "server": {
    "license": "20191024050858:dW5pdmVyc2FsPVo.............RA==",
    "ip": "127.0.0.1",
    "port": 8080,
    "protocol": "http",
    "minThreadPool": 10,
    "maxThreadPool": 30,
    "timeout": 5000
  },
  "debbie": {
    "cacheDir": "cache/",
    "policyDir": "policies/",
    "documentRepositoryDir": "/app/repository",
    "urlMaxRedirects": 1,
    "crlConnectionTimeout": 2000,
    "crlReadTimeout": 5000,
    "ocspConnectionTimeout": 2000,
    "ocspReadTimeout": 5000
  }
}


According to this configuration, the validation service is available at "http://localhost:8080". The policy configuration files can be found in "config/policies/".