Skip to content

Commit 3646fc3

Browse files
committed
docs(readme): add docs for new SANs-related functions
1 parent 8fcb808 commit 3646fc3

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Table of Contents
1919
* [resty.kong.tls.disable\_session\_reuse](#restykongtlsdisable_session_reuse)
2020
* [resty.kong.tls.get\_full\_client\_certificate\_chain](#restykongtlsget_full_client_certificate_chain)
2121
* [resty.kong.tls.set\_upstream\_cert\_and\_key](#restykongtlsset_upstream_cert_and_key)
22+
* [resty.kong.tls.set\_upstream\_ssl\_sans\_dnsnames](#restykongtlsset_upstream_ssl_sans_dnsnames)
23+
* [resty.kong.tls.set\_upstream\_ssl\_sans\_uris](#restykongtlsset_upstream_ssl_sans_uris)
2224
* [resty.kong.tls.set\_upstream\_ssl\_trusted\_store](#restykongtlsset_upstream_ssl_trusted_store)
2325
* [resty.kong.tls.set\_upstream\_ssl\_verify](#restykongtlsset_upstream_ssl_verify)
2426
* [resty.kong.tls.set\_upstream\_ssl\_verify\_depth](#restykongtlsset_upstream_ssl_verify_depth)
@@ -258,6 +260,44 @@ previous ones.
258260

259261
[Back to TOC](#table-of-contents)
260262

263+
resty.kong.tls.set\_upstream\_ssl\_sans\_dnsnames
264+
-----------------------------------------
265+
**syntax:** *ok, err = resty.kong.tls.set\_upstream\_ssl\_sans\_dnsnames(entries)*
266+
267+
**context:** *rewrite_by_lua*, access_by_lua*, balancer_by_lua**, *preread_by_lua**
268+
269+
**subsystems:** *http* *stream*
270+
271+
Set additional SANs entries for name validation of upstream ssl certificate,
272+
where `entries` is an array of DNS-names.
273+
274+
On success, this function returns `true`. Otherwise `nil` and a string
275+
describing the error will be returned.
276+
277+
This function can be called multiple times in the same request. Later calls override
278+
previous ones.
279+
280+
[Back to TOC](#table-of-contents)
281+
282+
resty.kong.tls.set\_upstream\_ssl\_sans\_uris
283+
-----------------------------------------
284+
**syntax:** *ok, err = resty.kong.tls.set\_upstream\_ssl\_sans\_uris(entries)*
285+
286+
**context:** *rewrite_by_lua*, access_by_lua*, balancer_by_lua**, *preread_by_lua**
287+
288+
**subsystems:** *http* *stream*
289+
290+
Set additional SANs entries for name validation of upstream ssl certificate,
291+
where `entries` is an array of URIs.
292+
293+
On success, this function returns `true`. Otherwise `nil` and a string
294+
describing the error will be returned.
295+
296+
This function can be called multiple times in the same request. Later calls override
297+
previous ones.
298+
299+
[Back to TOC](#table-of-contents)
300+
261301
resty.kong.tls.set\_upstream\_ssl\_trusted\_store
262302
-------------------------------------------------
263303
**syntax:** *ok, err = resty.kong.tls.set\_upstream\_ssl\_trusted\_store(store)*

0 commit comments

Comments
 (0)