To create and import a custom certificate:
Create the public and private key using the following command:
openssl req -new -text -out <public_key_name> -keyout <private_key_name>
Create a self-signed X.509 certificate using the following command:
openssl req -x509 -days 365 -in <public_key_name> -text -key <private_key_name> -out <certificate_name>
Import the generated certificate into the Sentinel Keystore:
<sentinel_installation_path> /opt/novell/sentinel/bin/javacert.sh --import <sentinel_installation_path> /etc/opt/novell/sentinel/config/.webserverkeystore.jks <password of the keystore> <alias_name> <certificate_name>
Convert the generated certificate into the p12 format:
openssl pkcs12 -inkey <private_key_name> -in <certificate_name> -export -out <certificate_name.p12>
To view the imported certificates list in the Keystore, run the following command:
<sentinel_installation_path>
/opt/novell/sentinel/jdk/jre/bin/keytool -list -keystore
/etc/opt/novell/sentinel/config/.webserverkeystore.jks
Restart the Sentinel server.