From 2131452fac8f7a7a037d1e09d4258995f5335d9b Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Fri, 20 May 2016 09:46:04 -0700 Subject: [PATCH] Specifiy keyalg RSA for SSL key generation. --- docs/security.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/security.html b/docs/security.html index a2e781626fe55..dcee9de891665 100644 --- a/docs/security.html +++ b/docs/security.html @@ -92,7 +92,7 @@

7.2 Encryption and Authentication
         #!/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