File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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/v{{< product minor_version >}}/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
@@ -132,18 +137,22 @@ The KrakenD configuration needed is as follows (no endpoints used for this demo)
132137
133138``` json
134139{
135- "version" : 3 ,
136- "$schema" : " https://www.krakend.io/schema/v{{< product minor_version >}}/krakend.json" ,
137- "port" : 443 ,
138- "tls" : {
139- "public_key" : " ./server.crt" ,
140- "private_key" : " ./server.key" ,
141- "enable_mtls" : true ,
142- "ca_certs" : [
143- " ./rootCA.pem"
144- ],
145- "disable_system_ca_pool" : true
146- }
140+ "version" : 3 ,
141+ "$schema" : " https://www.krakend.io/schema/v{{< product minor_version >}}/krakend.json" ,
142+ "port" : 443 ,
143+ "tls" : {
144+ "enable_mtls" : true ,
145+ "ca_certs" : [
146+ " rootCA.pem"
147+ ],
148+ "keys" : [
149+ {
150+ "private_key" : " ./server.key" ,
151+ "public_key" : " ./server.crt"
152+ },
153+ ],
154+ "disable_system_ca_pool" : true
155+ }
147156}
148157```
149158
You can’t perform that action at this time.
0 commit comments