nodece commented on code in PR #432: URL: https://github.com/apache/pulsar-site/pull/432#discussion_r1115396844
########## versioned_docs/version-2.11.x/security-tls-authentication.md: ########## @@ -241,14 +286,4 @@ For example: Configure `tlsTrustStorePath` when you set `useKeyStoreTls` to `true`. -::: Review Comment: Don't remove this. ########## versioned_docs/version-2.11.x/security-tls-transport.md: ########## @@ -186,13 +186,21 @@ At this point, you have a cert `client.cert.pem` and a key `client.key-pk8.pem`, To configure a Pulsar [broker](reference-terminology.md#broker) to use TLS encryption, you need to add these values to `broker.conf` in the `conf` directory of your Pulsar installation. Substitute the appropriate certificate paths where necessary. ```properties +# configure TLS ports brokerServicePortTls=6651 webServicePortTls=8081 -tlsRequireTrustedClientCertOnConnect=true + +# configure CA certificate +tlsTrustCertsFilePath=/path/to/ca.cert.pem +# configure server certificate tlsCertificateFilePath=/path/to/broker.cert.pem +# configure server's priviate key tlsKeyFilePath=/path/to/broker.key-pk8.pem -tlsTrustCertsFilePath=/path/to/ca.cert.pem +# enable mTLS +tlsRequireTrustedClientCertOnConnect=true + +# configure mTLS Review Comment: Same above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
