Last active
April 27, 2018 10:50
-
-
Save kakoni/da5c927aa687b6a8d61f4578cd20f397 to your computer and use it in GitHub Desktop.
Logstash keystore generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using keytool | |
keytool -genkey -keyalg RSA -alias logstash -keystore keystore.jks -storepass 123pass -ext SAN=ip:1.2.3.4,ip:1.2.3.4.5 -validity 360 -keysize 2048 | |
SAN ips are your server ips. | |
Also set first and lastname to ip address well. This is known as commanname and according to Internet | |
"here may be compatibility issues with certificates for IP addresses unless the IP address is in both the commonName and subjectAltName fields" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment