Skip to content

Commit 0f038d8

Browse files
committed
new: Added ssl to PUT /nodebalancers/$id/configs/$id
1 parent 903b7b5 commit 0f038d8

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

src/data/endpoints/nodebalancers.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,14 @@ endpoints:
212212
type: Boolean
213213
optional: true
214214
value: true
215-
# ssl_cert:
216-
# description: SSL certificate served by the NodeBalancer when the protocol is "https".
217-
# ssl_key:
218-
# description: Unpassphrased private key for the SSL certificate when the protocol is "https".
215+
ssl_cert:
216+
description: SSL certificate served by the NodeBalancer when the protocol is "https".
217+
type: String
218+
optional: true
219+
ssl_key:
220+
description: Unpassphrased private key for the SSL certificate when the protocol is "https".
221+
type: String
222+
optional: true
219223
cipher_suite:
220224
description: SSL cipher suite to enforce.
221225
type: Enum

src/data/objects/nodebalancer_config.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,23 @@ schema:
7070
ssl_commonname:
7171
editable: true
7272
type: String
73-
value:
73+
value: "www.example.com"
7474
description: Common Name of the configured SSL certificate, if present.
7575
ssl_fingerprint:
7676
editable: true
7777
type: String
78-
value:
78+
value: "00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33"
7979
description: SSL Certificate fingerprint, if present.
80+
ssl_cert:
81+
editable: true
82+
type: String
83+
value:
84+
description: SSL Certificate, if present.
85+
ssl_key:
86+
editable: true
87+
type: String
88+
value:
89+
description: SSL Key, if present.
8090
cipher_suite:
8191
editable: true
8292
type: Enum

0 commit comments

Comments
 (0)