2016-12-01 12:33:40 +00:00
|
|
|
[[_enforcer_filter_using_https]]
|
2016-12-02 16:58:27 +00:00
|
|
|
==== Setting Up TLS/HTTPS
|
2016-12-01 12:33:40 +00:00
|
|
|
|
2016-12-02 16:58:27 +00:00
|
|
|
When the server is using HTTPS, ensure your adapter is configured as follows:
|
2016-12-01 12:33:40 +00:00
|
|
|
|
|
|
|
.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]
|
2016-12-02 16:58:27 +00:00
|
|
|
It is strongly recommended that you enable TLS/HTTPS when accessing the {{book.project.name}} Server endpoints.
|
2016-12-01 12:33:40 +00:00
|
|
|
|