Skip to content

Commit 14e499e

Browse files
chronolawdndx
andauthored
Update README.markdown
Co-authored-by: Datong Sun <dndx@idndx.com>
1 parent fac3ab9 commit 14e499e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7747,7 +7747,7 @@ tcpsock:setclientcert
77477747
**context:** *rewrite_by_lua&#42;, access_by_lua&#42;, content_by_lua&#42;, ngx.timer.&#42;, ssl_certificate_by_lua&#42;, ssl_session_fetch_by_lua&#42;, ssl_client_hello_by_lua&#42;*
77487748

77497749
Set client certificate chain and corresponding private key to the TCP socket object.
7750-
These certificate chain and private key will be used in the [tcpsock:sslhandshake](#tcpsocksslhandshake) method.
7750+
The certificate chain and private key provided will be used later by the [tcpsock:sslhandshake](#tcpsocksslhandshake) method.
77517751

77527752
* `cert` specify a client certificate chain cdata object that will be used while handshaking with
77537753
remote server. These objects can be created using [ngx.ssl.parse\_pem\_cert](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/ssl.md#parse_pem_cert)

0 commit comments

Comments
 (0)