Specifications
© 2013 Adobe Systems Incorporated and its licensors. All rights reserved.
1.
a.
b.
c.
d.
e.
f.
g.
h.
i.
2.
a.
b.
c.
cfroot\jre\bin\keytool -genkeypair -alias certificatekey -keyalg
RSA -validity 7 -keystore keystore.jks
Export the certificate. You can have a self-signed certificate or a certificate from a Certificate
Authority.
cfroot\jre\bin\keytool -export -alias certificatekey -keystore
keystore.jks -rfc -file selfsignedcert.cer
Copy the file created in the directory.jks jetty\etc
Open the file.jetty\etc\jetty.xml
Search for the string, and add the following entry:To add an HTTPS SSL Listener
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.security.SslSocketConnector">
<Set name="Port">8443</Set>
<Set name="maxIdleTime">30000</Set>
<Set name="keystore"><SystemProperty name="jetty.home"
default="." />/etc/jks-file.jks</Set>
<Set name="password">changeit</Set>
<Set name="keyPassword">changeit</Set>
<Set name="truststore"><SystemProperty name="jetty.home"
default="." />/etc/jks-file.jks</Set>
<Set name="trustPassword">changeit</Set>
</New>
</Arg>
</Call>
Update the keystore name, password, key password, and jks file in the entry.
Search for the string .org.mortbay.jetty.bio.SocketConnector
Update the host with the IP address of the remote host.
Restart the jetty server.
Note
If the remote server is running on Windows Vista, Windows 7, or Windows
Server 2008, start the jetty sever with admin privileges.
Do the following in the local host from where you add the remote instance:
Copy the file created in the remote host to any of the locations..cer
Import the certificate.
cfroot\jre\bin\keytool.exe -importcert -keystore
"cfroot\jre\lib\security\cacerts" -file selfsignedcert.cer
-storepass password
Register the remote instance using the ColdFusion Administrator. For more information, see Re