|
I really need this to work... Please help.
I need SSL and have obviously set something up
incorrectly. I have followed the directions
on orionsupport.com and the orion ssl readme on ssl. I have the test certificate from Thawte. In the following configuration, everything seems to work fine
except the secure site.
-----------------------------------------------------
Here is a snapshot of my server.xml: -----------------------------------------------------
<global-application name="MyCompany"
path="c:\webapps\mycompany-web-app\config\mycompany-application.xml"
/>
<application name="ClientXyzShop" path="c:\webapps\clientXyz-shop-web-app\config\clientXyz-shop-application.xml" /> <application name="SecureXyzClientShop" path="c:\webapps\clientXyz-shop-web-app\config\secureXyz-client-shop-application.xml" /> <application name="ClientAbc" path="c:\webapps\clientAbc-web-app\config\clientAbc-application.xml" /> <global-web-app-config
path="global-web-application.xml" />
<web-site path="c:\webapps\myCompany-web-app\config\myCompany-web-site.xml" /> <web-site path="c:\webapps\clientXyz-web-app\config\clientXyz-web-site.xml" /> <web-site path="c:\webapps\clientXyz-web-app\config\secure-clientXyz-web-site.xml" /> <web-site path="c:\webapps\clientAbc-web-app\config\clientAbc-web-site.xml" /> -----------------------------------------------------
Here is the secure-clientXyz-web-site.xml Note I also tried this with: port="443" - Get the same error. port="439" - Works but I must browse to https://www.clientXyz.com:439 ----------------------------------------------------- <?xml version="1.0"?>
<!DOCTYPE web-site PUBLIC "Orion Web-site" "http://www.orionserver.com/dtds/web-site.dtd"> <web-site host="64.35.122.80" display-name="Secure Client
XYZ WebSite" secure="true">
<!-- The default web-app for this site, bound to the root --> <default-web-app application="SecureClientXyzGifts" name="SecureClientXyzWebApp" /> <!-- Access Log, where requests are logged to
-->
<access-log path="../log/clientXyz-web-access.log" /> <!-- Secure keystore certificate
-->
<ssl-config keystore="c:\WebServerApps\certs\keystore" keystore-password="12345678" /> </web-site> -----------------------------------------------------
Here is a snapshot of the secure-clientXyz-application.xml ----------------------------------------------------- <?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd"> <orion-application>
<web-module id="SecureClientXyzWebApp" path="c:\webapps\clientXyz-web-app\web" /> <persistence path="..\persistence" /> <library path="..\lib" /> <log> <file path="..\log\global-application.log" /> </log> <data-sources path=".\data-sources.xml" /> </orion-application> -----------------------------------------------------
Here is the clientXyz-web-site.xml (non secure site which seems to work fine) Note that the ip is the same as the non secure
site.
----------------------------------------------------- <?xml version="1.0"?>
<!DOCTYPE web-site PUBLIC "Orion Web-site" "http://www.orionserver.com/dtds/web-site.dtd"> <web-site host="64.35.122.80" port="80"
display-name="Client XYZ WebSite">
<!-- The default web-app for this site, bound to the root --> <default-web-app application="ClientXyzShop" name="ClientXyzShopWebApp" /> <!-- Access Log, where requests are logged to
-->
<access-log path="../log/clientXyz-web-access.log" /> </web-site> -----------------------------------------------------
Here is a snapshot of the clientXyz-appication.xml ----------------------------------------------------- <?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd"> <orion-application>
<web-module id="ClientXyzWebApp" path="c:\webapps\clientXyz-web-app\web" /> <persistence path="..\persistence" /> <library path="..\lib" /> <log> <file path="..\log\global-application.log" /> </log> <data-sources path=".\data-sources.xml" /> </orion-application> -----------------------------------------------------
Here is the output when starting Orion: ----------------------------------------------------- Error starting HttpServer: Unable to intialize
SSLServerSocketFactory 'com.everm
ind.ssl.JSSESSLServerSocketFactory': Address in use: bind Orion/1.0.3 initialized Any help would be appreciated, |
