From 06d60808e346d03b8ec8e756ac7f45c242cd8cf6 Mon Sep 17 00:00:00 2001 From: Shoothzj Date: Tue, 30 Nov 2021 14:07:48 +0800 Subject: [PATCH] Suggest to use tlsPort instead of deprecated TlsEnable --- site2/docs/security-tls-transport.md | 3 ++- site2/website-next/docs/security-tls-transport.md | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/site2/docs/security-tls-transport.md b/site2/docs/security-tls-transport.md index 44414a9726513..e6ade2f3ced3b 100644 --- a/site2/docs/security-tls-transport.md +++ b/site2/docs/security-tls-transport.md @@ -120,7 +120,8 @@ To configure a Pulsar [broker](reference-terminology.md#broker) to use TLS trans Add these values to the configuration file (substituting the appropriate certificate paths where necessary): ```properties -tlsEnabled=true +brokerServicePortTls=6651 +webServicePortTls=8081 tlsRequireTrustedClientCertOnConnect=true tlsCertificateFilePath=/path/to/broker.cert.pem tlsKeyFilePath=/path/to/broker.key-pk8.pem diff --git a/site2/website-next/docs/security-tls-transport.md b/site2/website-next/docs/security-tls-transport.md index b0ffdc418cd12..26a1219ab9374 100644 --- a/site2/website-next/docs/security-tls-transport.md +++ b/site2/website-next/docs/security-tls-transport.md @@ -134,8 +134,8 @@ To configure a Pulsar [broker](reference-terminology.md#broker) to use TLS trans Add these values to the configuration file (substituting the appropriate certificate paths where necessary): ```properties - -tlsEnabled=true +brokerServicePortTls=6651 +webServicePortTls=8081 tlsRequireTrustedClientCertOnConnect=true tlsCertificateFilePath=/path/to/broker.cert.pem tlsKeyFilePath=/path/to/broker.key-pk8.pem