MINOR: Specify keyalg RSA for SSL key generation

Author: Sriharsha Chintalapani <harsha@hortonworks.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #1416 from harshach/ssl-doc-fix
This commit is contained in:
Sriharsha Chintalapani 2016-05-22 10:01:32 +01:00 committed by Ismael Juma
parent 177b2d0bea
commit dee3880666
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ Apache Kafka allows clients to connect over SSL. By default SSL is disabled but
<pre>
#!/bin/bash
#Step 1
keytool -keystore server.keystore.jks -alias localhost -validity 365 -genkey
keytool -keystore server.keystore.jks -alias localhost -validity 365 -keyalg RSA -genkey
#Step 2
openssl req -new -x509 -keyout ca-key -out ca-cert -days 365
keytool -keystore server.truststore.jks -alias CARoot -import -file ca-cert