Skip to content

Commit aa75c64

Browse files
committed
Fix mTLS example
Signed-off-by: Albert Lombarte <albert@krakend.io>
1 parent c49253e commit aa75c64

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

authorization/mutual-authentication.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,20 @@ To enable it you need a configuration like this:
3232

3333
```json
3434
{
35-
"version": 3,
36-
"tls": {
37-
"public_key": "/path/to/cert.pem",
35+
"version": 3,
36+
"$schema": "https://www.krakend.io/schema/krakend.json",
37+
"tls": {
38+
"enable_mtls": true,
39+
"ca_certs": [
40+
"rootCA.pem"
41+
],
42+
"keys": [
43+
{
3844
"private_key": "/path/to/key.pem",
39-
"enable_mtls": true,
40-
"ca_certs": [
41-
"./rootCA.pem"
42-
]
43-
}
45+
"public_key": "/path/to/cert.pem"
46+
}
47+
]
48+
}
4449
}
4550
```
4651

0 commit comments

Comments
 (0)