Skip to content

Commit

Permalink
Suggest to use tlsPort instead of deprecated TlsEnable (#13039)
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhangjian authored Dec 1, 2021
1 parent 6e3b736 commit b0e954b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion site2/docs/security-tls-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions site2/website-next/docs/security-tls-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0e954b

Please sign in to comment.