White Papers
Abstract
Generating a self-signed certificate using the Keytool
Content
1) view the cert from keystore
keytool -list -v -keystore /home/test1/MFTWebServices/mftws/BOOT-INF/classes/ssl-server.jks
2) Creation of certificate and it will create the certificate inside keystore
keytool -genkey -alias <server-alias-name> -keyalg RSA -keypass <password> -storepass <keystore password> -keystore <keystore>.jks
example-
keytool -genkey -alias server-alias -keyalg RSA -keypass qwerty1 -storepass qwerty1 -keystore /home/test1/MFTWebServices/mftws/BOOT-INF/classes/ssl-server.jks
When you press Enter, keytool prompts you to enter the server name, organizational unit, organization, locality, state, and country code.
4) Edit application.properties file and change the value of server.ssl.key-alias property with Certificate Label to be used by Connect: Direct Web Services.
5) stop and start web service.
Was this topic helpful?
Document Information
More support for:
IBM Sterling Connect:Direct Web Services
Component:
CD WEBSERVICES
Software version:
All Versions
Operating system(s):
Linux, Windows
Document number:
6537898
Modified date:
03 January 2022
UID
ibm16537898