concept schema in category apache pulsar

appears as: schema, schemas, schemas, schema
Apache Pulsar in Action

This is an excerpt from Manning's book Apache Pulsar in Action.

At this point, you have a broker certificate (broker.cert.pem), and its associated private key, (broker.key-pk8.pem) that you can use along with ca.cert.pem to configure TLS transport encryption for your broker and proxy nodes. Again, the script purposely generates the broker certificate to a known location so that we can refer to it from inside the broker’s configuration file, /pulsar/conf/standalone.conf. Let’s take a look at all the properties that were changed in order to enable TLS for Pulsar.

Listing 6.4 TLS Property Changes to the standalone.conf file
#### To Enable TLS wire encryption #####
tlsEnabled=true
brokerServicePortTls=6651
webServicePortTls=8443
 
# The Broker certificate and associated private key
tlsCertificateFilePath=/pulsar/manning/security/cert-authority/broker.cert.pem
tlsKeyFilePath=//pulsar/manning/security/cert-authority/broker.key-pk8.pem
 
# The CA certificate
tlsTrustCertsFilePath=/pulsar/manning/security/cert-authority/certs/ca.cert.pem
 
# Used for TLS negotiation to specify which ciphers we consider safe.
tlsProtocols=TLSv1.2,TLSv1.1
tls
Ciphers=TLS_DH_RSA_WITH_AES_256_GCM_SHA384,TLS_DH_RSA_WITH_AES_256_CBC_SHA

Since I have enabled TLS transport encryption, I also need to configure the command-line tools such as pulsar-admin, and pulsar-perf to communicate with the secure Pulsar broker by changing the following properties in the $PULSAR_HOME/conf/client.conf file, as shown in Listing 6.5

#E Executes the enable-tls.sh script