
32
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Administrator
L
ast
u
p
dated
7/9/2
01
2
Enable SSL
1
Create the keystore.
2
Configure Flex.
3
Enable SSL in the ColdFusion Administrator.
Create the keystore
❖
To generate the SSL server (ColdFusion) keystore file, use the keytool utility, with a command similar to the
following:
keytool -genkey -v -alias FlexAssembler -dname "cn=FlexAssembler" -keystore cf.keystore -
keypass mypassword -storepass mypassword
The following table describes the parameters of the keytool utility:
Place the certificate you created in the file that the JVM uses to determine what certificates to trust. The file in which
you place the certificate (usually named cacerts), is located in the JRE, in the lib/security folder.
Configure Flex
1
To export the keystore to a certificate, use the keytool utility, with a command similar to the following:
keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file cf.cer
2
To import the certificate into the JRE cacerts file for your server, use the keytool utility, with a command similar to
the following:
keytool -import -v -alias FlexAssembler -file cf.cer -keystore
C:\fds2\UninstallerData\jre\lib\security\cacerts
Enable SSL in the ColdFusion Administrator
1
Select Data & Services > Flex Integration, and specify the keystore file in the Full Path To Keystore box.
2
Specify the keystore password in the Keystore Password box.
3
Select Enable RMI Over SSL For Data Management, and then click Submit Changes.
If you specify an invalid keystore file or password, ColdFusion does not enable SSL, and disables LiveCycle Data
Management Support.
Parameter
Description
-alias
The name of the keystore entry. You can use any name for this, as long as you are consistent when referring
to it.
-dname
The Distinguished Name, which contains the Common Name (cn) of the server.
-keystore
The location of the keystore file.
-keypass
The password for your private key.
-storepass
The password for the keystore. The encrypted storepass is stored in ColdFusion configuration files.
-rfc
Generates the certificate in the printable encoding format.
-file
The name of the keystore file.
-v
Generates detailed certificate information