diff options
author | Oleg <musinit@yandex.ru> | 2021-10-02 01:27:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 16:27:29 -0600 |
commit | cbb045a121464527d85cce1b56250480b0515f9a (patch) | |
tree | 85b7141e7821d698ed3f7f673f3bff8c1415b3b4 /caddyconfig/httpcaddyfile | |
parent | c48fadc4a7655008d13076c7f757c36368e2ca13 (diff) |
caddyhttp: Placeholder for client cert in DER + base64 format (#4241)
* client.certificate_pem_encoded in base64 format
* base64-encoding without pem encoding;naming change
* fix cert.Raw instead of block.bytes
Diffstat (limited to 'caddyconfig/httpcaddyfile')
-rw-r--r-- | caddyconfig/httpcaddyfile/httptype.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/caddyconfig/httpcaddyfile/httptype.go b/caddyconfig/httpcaddyfile/httptype.go index e5dafe6..bc01060 100644 --- a/caddyconfig/httpcaddyfile/httptype.go +++ b/caddyconfig/httpcaddyfile/httptype.go @@ -113,6 +113,7 @@ func (st ServerType) Setup(inputServerBlocks []caddyfile.ServerBlock, "{tls_client_serial}", "{http.request.tls.client.serial}", "{tls_client_subject}", "{http.request.tls.client.subject}", "{tls_client_certificate_pem}", "{http.request.tls.client.certificate_pem}", + "{tls_client_certificate_der_base64}", "{http.request.tls.client.certificate_der_base64}", "{upstream_hostport}", "{http.reverse_proxy.upstream.hostport}", ) |