46
Using the Flex Data Service Assembler
To enable SSL, you do the following:
■
Create the keystore
■
Configure Flex
■
Enable SSL in the ColdFusion MX Administrator
To create the keystore:
1.
Generate the SSL server (ColdFusion) keystore file by using 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 that you use:
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:
1.
Export the keystore to a certificate by using the keytool utility, with a command similar to
the following:
keytool -export -v -alias FlexAssembler -keystore cf.keystore -rfc -file
cf.cer
2.
Import the certificate into the JRE cacerts file for your server by using 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
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
ColdFuison configuration files.
-rfc
Generates the certificate in the printable encoding format.
-file
The name of the keystore file.
-v
Generates detailed certificate information.
Содержание COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX...
Страница 1: ...Using ColdFusion MX with Flex 2...
Страница 12: ...12 Using Flash Remoting Update...
Страница 24: ...24 Using the Flex Messaging Event Gateway...
Страница 71: ...Example application 71 wait png The wait png file appears as follows...
Страница 72: ...72 Using the Flex Data Service Assembler...