You could use the keytool program that manage a key store, which is a database of certificates. To do so, use the command line:
keytool -genkey -keystore yourKeyStore.store -alias yourCertificate, then follow the instructions. The keytool command allows you to import/export certificates, etc. Just type keytool on the command prompt and you get all the options.