This script provides a quick, convenient, way to generate a dummy certificate/keypair for encrypted beansnetserverd(8) RMI connections, for testing purposes.
The script creates /usr/local/share/beans/keystore and /usr/local/share/beans/certificate. The password to the keystore/keyfile is 123456. Obviously, this is for testing purposes, only.