Skip to content
Deva Kumar edited this page May 24, 2020 · 5 revisions

TLS Support

restaf-server can be configured to support TLS.

This is accomplished by the following configurations

APPHOST

Use https when specifying the APPHOST and APPORT as shown below.

APPHOST=https://mymachine
APPPORT=443

You must specify one of the following sets

Set 1: Certificate and key

TLS_KEY=path-to-key
TLS_CERT=path-to-cert

Set 2: Specify in pfx format

TLS_PFX=../certs/sascert/sascert2.pfx
TLS_PW=rafdemo

CA Bundle

Optionally you can also pass in a CA bundle

TLS_CABUNDLE=path-to-your-ca-bundle
Clone this wiki locally