Skip to content
Permalink
b4835c1e2b
Go to file
 
 
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 388 Bytes
#!/bin/bash
#
# Generate a self signed certificate
#
# Self-signed certificate for development laptops
# -----------------------------------------------
cat > data.conf << EOF
IT
IT
IT
IT
IT
IT
yes
EOF
# Everything in one line
$JAVA_HOME/bin/keytool -genkey -keyalg RSA -alias selfsigned -keystore /opt/certs/keystore.jks -storepass password -validity 360 -keysize 2048 < data.conf
You can’t perform that action at this time.