Configuring the encrypted connection
Configure tSetKeystore to use an encrypted connection in your Spark Streaming Job.
Before you begin
Procedure
- In the TrustStore type field, select JKS from the drop-down list.
- In the TrustStore file field, browse to the corresponding truststore file. In this scenario, it is C:/clientTrustStore.trustStore.
- In the TrustStore password field, type in the password for this truststore file.
- Select the Need Client authentication check box to activate the keystore configuration fields.
- In the KeyStore type field, select JKS from the drop-down list.
- In the KeyStore file field, browse to the corresponding keystore file. In this scenario, it is C:/client.keystore.
- In the KeyStore password field, type in the password for this keystore file.
- Select the Check server identity to make the Job verify the match between the hostname of the URL and the hostname of the server.