MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual page 46

Table of Contents

Advertisement

To enable SSL, you do the following:
Create the keystore
Configure Flex
Enable SSL in the ColdFusion MX Administrator
To create the keystore:
Generate the SSL server (ColdFusion) keystore file by using the keytool utility, with a
1.
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 that you use:
Parameter
-alias
-dname
-
keystore
-keypass
-storepass
-rfc
-file
-v
Next, you place the certificate you created in the file that the JVM uses to decide what
certificates to trust. The file in which you put the certificate, (usually named cacerts), is
located in the JRE, under the lib/security folder.
To configure Flex:
Export the keystore to a certificate by using the keytool utility, with a command similar to
1.
the following:
keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file
cf.cer
Import the certificate into the JRE cacerts file for your server by using the keytool utility,
2.
with a command similar to the following:
keytool -import -v -alias FlexAssembler -file cf.cer -keystore
C:\fds2\UninstallerData\jre\lib\security\cacerts
46
Using the Flex Data Service Assembler
Description
The name of the keystore entry. You can use any name for this, as long
as you are consistent when referring to it.
The Distinguished Name, which contains the Common Name (cn) of
the server.
The location of the keystore file.
The password for your private key.
The password for the keystore. The encrypted storepass is stored in
ColdFuison configuration files.
Generates the certificate in the printable encoding format.
The name of the keystore file.
Generates detailed certificate information.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents