Setting up TLS/HTTPS

This commit is contained in:
Pedro Igor 2016-12-01 10:33:40 -02:00
parent dd3de5a6d9
commit 6024f86fac
2 changed files with 21 additions and 0 deletions

View file

@ -99,3 +99,5 @@
... link:topics/enforcer/authorization-context.adoc[Obtaining the Authorization Context]
... link:topics/enforcer/js-adapter.adoc[JavaScript Integration]
... link:topics/enforcer/https.adoc[Setting up TLS/HTTPS]

View file

@ -0,0 +1,19 @@
[[_enforcer_filter_using_https]]
== Setting Up TLS/HTTPS
When the server is using HTTPS, make sure your adapter is configured as follows:
.keycloak.json
```json
{
"truststore": "path_to_your_trust_store",
"truststore-password": "trust_store_password"
}
```
The configuration above enables TLS/HTTPS to the Authorization Client, making possible to access a
{{book.project.name}} Server remotely using the HTTPS scheme.
[NOTE]
Is strongly recommended that you enable TLS/HTTPS when accessing the {{book.project.name}} Server endpoints.