Create a server certificate using keytool.
For more information on keytool, see Keytool - Key and Certificate Management Tool
. keytool -genkey -keyalg RSA -alias selfsigned -keystore key_store_file_name -storepass password -validity 360 -keysize 2048
For Example: keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass changeit -validity 360 -keysize 2048
You will be prompted for the following information:
What is your first and last name?
This becomes the CN of your certificate. Enter the DNS name of the server running the driver.
What is the name of your organizational unit?
Enter the name of your organizational unit. This information does not need to correlate to any information in eDirectory or DNS.
What is the name of your organization?
Enter the name of your organization. This information does not need to correlate to any information in eDirectory or DNS.
What is the name of your city or locality?
Enter the name of your city. This information does not need to correlate to any information in eDirectory or DNS
What is the name of your state or province?
Enter the name of your state. This information does not need to correlate to any information in eDirectory or DNS
What is the two-letter country code for this unit?
Enter the code for your country. This information does not need to correlate to any information in eDirectory or DNS
keytool will present a summary of your information and ask if it is correct. Press Y.
Configure the Publisher Channel to use the server certificate created in Step 1
In Designer, right click on the driver and select
On the Properties dialog, select
On Driver Configuration select the
tab.On the Driver Parameters tab select the
tab.On
selectEnter the path and filename of the keystore you created in Step 1. For example, enter c:\keystore.jks.
Enter the password of the keystore you created in Step 1. For example, enter changeit.
Enter the server key alias of the key you created in Step 1. For example, enter selfsigned.
Enter the password for the server certificate you created in Step 1. For example, enter changeit.
Click
to save your changes.