package secure
Ordering
- Alphabetic
Visibility
- Public
- Protected
Value Members
- object SSLHelper
Static utilities for creating SSL Contexts to serve the API via HTTPS.
Static utilities for creating SSL Contexts to serve the API via HTTPS. Pre-requisites:
- A valid certificate is expected to be found in a keystore.
- Some environment variables need to be set beforehand:
- KEYSTORE_PATH: location of the keystore storing the certificate.
- KEYSTORE_PASSWORD: password protecting the keystore (leave empty if there is none).
- KEYMANAGER_PASSWORD: password protecting the certificate (leave empty is there is none).
- Note
The inner functionality needs to be able read the host's environment and filesystem
,Further docs, see https://github.com/weso/rdfshape-api/wiki/Deploying-RDFShape-API-(SBT)#serving-with-https
- See also