diff --git a/docs/security.html b/docs/security.html index bd483e504de..2459f5493bb 100644 --- a/docs/security.html +++ b/docs/security.html @@ -93,7 +93,7 @@ Apache Kafka allows clients to connect over SSL. By default SSL is disabled but
         #!/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