Using keytool for certificate management

The keytool command line application is provided with the Java SDK.

In the production environment you might choose to use externally signed certificates, which are managed in a similar way.