Configuring HTTPS
You may configure HTTPS by creating a keystore file and enabling the protocol.
Step 1: Create a Keystore File
You can use an existing SSL certificate or create your own using the Java keytool:
https://docs.oracle.com/cd/E19798-01/821-1841/gjrgy/index.html.
If you already have a known keystore file prepared, you can skip to
Step 2: Enable HTTPS.
If you already have a certificate, you must import it into a keystore and then go to
Step 2: Enable HTTPS:
keytool -import -alias tomcat -file myCertificate.crt -keystore keystore.p12 -storepass password
Example:
You could run the following commands for PKCS12 with an alias of “actian”:
keytool -genkeypair -alias actian -keyalg RSA -keysize 2048 -keystore keystore.jks -validity 3650
keytool -genkeypair -alias actian -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore keystore.p12 -validity 3650
Enter a password for the keystore with at least 6 characters:
Enter keystore password:
Re-enter new password:
Add some identifying information and a password for the alias (if different form the keystore):
What is your first and last name?
[Unknown]:
…
Is CN=localhost, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown correct?
[no]: yes
Enter key password for <actian>
(RETURN if same as keystore password):
Step 2: Enable HTTPS
1. Place the keystore file in the C:/ProgramData/Actian/IntegrationManager/conf directory.
2. Edit the application.properties file (in the same directory) and define the following properties:
#Change to a secure port
server.port=8443
#Enable SSL
security.require-ssl=true
server.ssl.key-alias=actian
server.ssl.key-store=C:/ProgramData/Actian/IntegrationManager/conf/keystore.p12
server.ssl.key-store-password=password
server.ssl.key-store-type=PKCS12