<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Quick and easy SSL in OC4J Standalone</title>
	<atom:link href="http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=quick-and-easy-ssl-in-oc4j-standalone</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: tintu</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1203</link>
		<dc:creator>tintu</dc:creator>
		<pubDate>Thu, 18 Nov 2010 07:06:10 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1203</guid>
		<description><![CDATA[Â 

Â 

Â 




Hi I have enabled SSL in oc4j but getting null pointer exception in client. The code is given below java.security.cert.X509Certificate[] ClientCertificates = (java.security.cert.X509Certificate[])request.getAttribute(

&quot;javax.servlet.request.X509Certificate&quot;);
Â 


Â 

Â 

Â 

&lt;strong&gt;&lt;strong&gt;

for
&lt;/strong&gt;&lt;strong&gt;
Â 
&lt;/strong&gt;
Â 
 (&lt;strong&gt;int&lt;/strong&gt; i=0;i&lt;ClientCertificates.length&lt;/strong&gt;


;i++)
{
user_cert = (X509Certificate) ClientCertificates[i];
}]]></description>
		<content:encoded><![CDATA[<p>Â </p>
<p>Â </p>
<p>Â </p>
<p>Hi I have enabled SSL in oc4j but getting null pointer exception in client. The code is given below java.security.cert.X509Certificate[] ClientCertificates = (java.security.cert.X509Certificate[])request.getAttribute(</p>
<p>&#8220;javax.servlet.request.X509Certificate&#8221;);<br />
Â </p>
<p>Â </p>
<p>Â </p>
<p>Â </p>
<p><strong></strong><strong></p>
<p>for<br />
</strong><strong><br />
Â <br />
</strong><br />
Â <br />
 (<strong>int</strong> i=0;i&lt;ClientCertificates.length</p>
<p>;i++)<br />
{<br />
user_cert = (X509Certificate) ClientCertificates[i];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenan Kara</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1202</link>
		<dc:creator>Kenan Kara</dc:creator>
		<pubDate>Thu, 07 Jan 2010 13:15:53 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1202</guid>
		<description><![CDATA[Thanks for installation tips, it works!]]></description>
		<content:encoded><![CDATA[<p>Thanks for installation tips, it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1201</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sat, 03 Oct 2009 02:40:37 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1201</guid>
		<description><![CDATA[Hey, way cool!  Had to play around with the XML config files a bit, but finally got it working with JDev 10.1.3.5. Make sure your &quot;&quot; statement in secure-web-site.xml is the same as the one in default-web-site.xml.  Note that the config files are located in folder &quot;..\embedded-oc4j\config&quot;]]></description>
		<content:encoded><![CDATA[<p>Hey, way cool!  Had to play around with the XML config files a bit, but finally got it working with JDev 10.1.3.5. Make sure your &#8220;&#8221; statement in secure-web-site.xml is the same as the one in default-web-site.xml.  Note that the config files are located in folder &#8220;..\embedded-oc4j\config&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Russell</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1200</link>
		<dc:creator>Jerry Russell</dc:creator>
		<pubDate>Thu, 08 May 2008 22:57:37 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1200</guid>
		<description><![CDATA[Just a comment in case someone else runs into trouble. When using the keystore tool, there are two passwords, if you do not enter the same password for both, you may get &quot;&quot;Cannot recover key&quot; errors when deploying your application. Thanks for the instructions!]]></description>
		<content:encoded><![CDATA[<p>Just a comment in case someone else runs into trouble. When using the keystore tool, there are two passwords, if you do not enter the same password for both, you may get &#8220;&#8221;Cannot recover key&#8221; errors when deploying your application. Thanks for the instructions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SMLG</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1199</link>
		<dc:creator>SMLG</dc:creator>
		<pubDate>Wed, 23 Jan 2008 01:06:58 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1199</guid>
		<description><![CDATA[Hi, does any body has solved TAB&#039;s problem?, help help]]></description>
		<content:encoded><![CDATA[<p>Hi, does any body has solved TAB&#8217;s problem?, help help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TAB</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1198</link>
		<dc:creator>TAB</dc:creator>
		<pubDate>Mon, 28 May 2007 07:02:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1198</guid>
		<description><![CDATA[Hi,
This setting works in my jdeveloper version 10.1.3.0...
Now i already migrates my application using version 10.1.3.1 and suddenly jdeveloper found an error...(handshake alert: no_certificate)
so it&#039;s a bug or what in jdeveloper?]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
This setting works in my jdeveloper version 10.1.3.0&#8230;<br />
Now i already migrates my application using version 10.1.3.1 and suddenly jdeveloper found an error&#8230;(handshake alert: no_certificate)<br />
so it&#8217;s a bug or what in jdeveloper?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hasnath</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1197</link>
		<dc:creator>hasnath</dc:creator>
		<pubDate>Tue, 31 Oct 2006 12:44:23 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1197</guid>
		<description><![CDATA[may God bless .wat a simple and easy way to enable SSL]]></description>
		<content:encoded><![CDATA[<p>may God bless .wat a simple and easy way to enable SSL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianluca Vannozzi</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1196</link>
		<dc:creator>Gianluca Vannozzi</dc:creator>
		<pubDate>Fri, 09 Sep 2005 13:45:12 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1196</guid>
		<description><![CDATA[I resolved the problem, my http-web-site.xml is :

&lt; ?xml version=&quot;1.0&quot; ?&gt;
  &lt; !DOCTYPE web-site (View Source for full doctype...)&gt;
- &lt;web -site port=&quot;8888&quot; display-name=&quot;Oracle9iAS Containers for J2EE HTTP Web Site&quot; host=&quot;[ALL]&quot; log-request-info=&quot;false&quot; secure=&quot;false&quot;&gt;
  &lt;default -web-app application=&quot;default&quot; name=&quot;defaultWebApp&quot; load-on-startup=&quot;true&quot; shared=&quot;false&quot; /&gt;
  &lt;web -app application=&quot;default&quot; name=&quot;dms0&quot; root=&quot;/dms0&quot; load-on-startup=&quot;false&quot; max-inactivity-time=&quot;no shutdown&quot; shared=&quot;false&quot; /&gt;
  &lt;web -app application=&quot;default&quot; name=&quot;dms&quot; root=&quot;/dmsoc4j&quot; load-on-startup=&quot;false&quot; max-inactivity-time=&quot;no shutdown&quot; shared=&quot;false&quot; /&gt;
  &lt;access -log path=&quot;../log/http-web-access.log&quot; format=&quot;$ip - $user - [$time] &#039;$request&#039; $status $size&quot; split=&quot;none&quot; /&gt;
  &lt;/access&gt;&lt;/web&gt;

secure-web-site.xml:

&lt; ?xml version=&quot;1.0&quot; standalone=&quot;yes&quot; ?&gt;web-site (View Source for full doctype...)&gt;
- &lt;web -site port=&quot;4443&quot; display-name=&quot;Oracle9iAS Containers for J2EE HTTP Web Site&quot; host=&quot;[ALL]&quot; log-request-info=&quot;false&quot; secure=&quot;true&quot;&gt;
  &lt;ssl -config keystore=&quot;sslfile&quot; keystore-password=&quot;simanoel&quot; needs-client-auth=&quot;false&quot; factory=&quot;com.evermind.server.JSSESSLServerSocketFactory&quot; /&gt;
  &lt;default -web-app application=&quot;default&quot; name=&quot;defaultWebApp&quot; load-on-startup=&quot;true&quot; shared=&quot;false&quot; /&gt;
  &lt;web -app application=&quot;default&quot; name=&quot;dms0&quot; root=&quot;/dms0&quot; load-on-startup=&quot;false&quot; max-inactivity-time=&quot;no shutdown&quot; shared=&quot;false&quot; /&gt;
  &lt;web -app application=&quot;default&quot; name=&quot;dms&quot; root=&quot;/dmsoc4j&quot; load-on-startup=&quot;false&quot; max-inactivity-time=&quot;no shutdown&quot; shared=&quot;false&quot; /&gt;
  &lt;access -log path=&quot;../log/http-web-access.log&quot; format=&quot;$ip - $user - [$time] &#039;$request&#039; $status $size&quot; split=&quot;none&quot; /&gt;
  &lt;/access&gt;&lt;/web&gt;

server.xml:

&lt; ?xml version=&quot;1.0&quot; ?&gt;application-server (View Source for full doctype...)&gt;
- &lt;application -server application-directory=&quot;../applications&quot; deployment-directory=&quot;../application-deployments&quot; connector-directory=&quot;../connectors&quot; auto-start-applications=&quot;true&quot; localhostIsAdmin=&quot;true&quot;&gt;
  &lt;rmi -config path=&quot;./rmi.xml&quot; /&gt;
  &lt;jms -config path=&quot;./jms.xml&quot; /&gt;
- &lt;log&gt;
  &lt;file path=&quot;../log/server.log&quot; /&gt;
  &lt;/file&gt;&lt;/log&gt;
  &lt;transaction -config timeout=&quot;30000&quot; /&gt;application name=&quot;default&quot; path=&quot;application.xml&quot; /&gt;
  &lt;application name=&quot;ProveStruts2&quot; path=&quot;../applications/__ProveStruts2.ear&quot; auto-start=&quot;true&quot; /&gt;
  &lt;application name=&quot;ProveStruts&quot; path=&quot;../applications/__ProveStruts.ear&quot; auto-start=&quot;true&quot; /&gt;
  &lt;global -web-app-config path=&quot;global-web-application.xml&quot; /&gt;
  &lt;web -site path=&quot;./http-web-site.xml&quot; /&gt;
  &lt;web -site path=&quot;./secure-web-site.xml&quot; /&gt;
  &lt;cluster id=&quot;-3644109578&quot; /&gt;
  &lt;/cluster&gt;&lt;/web&gt;&lt;/web&gt;&lt;/global&gt;&lt;/application&gt;&lt;/application&gt;&lt;/transaction&gt;&lt;/jms&gt;&lt;/rmi&gt;&lt;/application&gt;]]></description>
		<content:encoded><![CDATA[<p>I resolved the problem, my http-web-site.xml is :</p>
<p>< ?xml version="1.0" ?><br />
  < !DOCTYPE web-site (View Source for full doctype...)><br />
- <web -site port="8888" display-name="Oracle9iAS Containers for J2EE HTTP Web Site" host="[ALL]" log-request-info="false" secure="false"><br />
  <default -web-app application="default" name="defaultWebApp" load-on-startup="true" shared="false"></default><br />
  <web -app application="default" name="dms0" root="/dms0" load-on-startup="false" max-inactivity-time="no shutdown" shared="false"></web><br />
  <web -app application="default" name="dms" root="/dmsoc4j" load-on-startup="false" max-inactivity-time="no shutdown" shared="false"></web><br />
  <access -log path="../log/http-web-access.log" format="$ip - $user - [$time] '$request' $status $size" split="none"></access><br />
  </web></p>
<p>secure-web-site.xml:</p>
<p>< ?xml version="1.0" standalone="yes" ?>web-site (View Source for full doctype&#8230;)><br />
- <web -site port="4443" display-name="Oracle9iAS Containers for J2EE HTTP Web Site" host="[ALL]" log-request-info="false" secure="true"><br />
  <ssl -config keystore="sslfile" keystore-password="simanoel" needs-client-auth="false" factory="com.evermind.server.JSSESSLServerSocketFactory"></ssl><br />
  <default -web-app application="default" name="defaultWebApp" load-on-startup="true" shared="false"></default><br />
  <web -app application="default" name="dms0" root="/dms0" load-on-startup="false" max-inactivity-time="no shutdown" shared="false"></web><br />
  <web -app application="default" name="dms" root="/dmsoc4j" load-on-startup="false" max-inactivity-time="no shutdown" shared="false"></web><br />
  <access -log path="../log/http-web-access.log" format="$ip - $user - [$time] '$request' $status $size" split="none"></access><br />
  </web></p>
<p>server.xml:</p>
<p>< ?xml version="1.0" ?>application-server (View Source for full doctype&#8230;)><br />
- <application -server application-directory="../applications" deployment-directory="../application-deployments" connector-directory="../connectors" auto-start-applications="true" localhostIsAdmin="true"><br />
  <rmi -config path="./rmi.xml"></rmi><br />
  <jms -config path="./jms.xml"></jms><br />
- <log><br />
  <file path="../log/server.log"></file><br />
  </log></p>
<transaction -config timeout="30000"></transaction>application name=&#8221;default&#8221; path=&#8221;application.xml&#8221; /><br />
  <application name="ProveStruts2" path="../applications/__ProveStruts2.ear" auto-start="true"></application><br />
  <application name="ProveStruts" path="../applications/__ProveStruts.ear" auto-start="true"></application><br />
  <global -web-app-config path="global-web-application.xml"></global><br />
  <web -site path="./http-web-site.xml"></web><br />
  <web -site path="./secure-web-site.xml"></web><br />
  <cluster id="-3644109578"></cluster><br />
  </application></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianluca Vannozzi</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1195</link>
		<dc:creator>Gianluca Vannozzi</dc:creator>
		<pubDate>Fri, 09 Sep 2005 13:37:22 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1195</guid>
		<description><![CDATA[I have  resolved the problem if you want I can send you the files I modified.]]></description>
		<content:encoded><![CDATA[<p>I have  resolved the problem if you want I can send you the files I modified.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rem</title>
		<link>http://technology.amis.nl/2004/11/21/quick-and-easy-ssl-in-oc4j-standalone/#comment-1194</link>
		<dc:creator>Rem</dc:creator>
		<pubDate>Fri, 09 Sep 2005 12:06:45 +0000</pubDate>
		<guid isPermaLink="false">/?p=268#comment-1194</guid>
		<description><![CDATA[Hi, I&#039;ve the same problem using standalone OC4J provided with JDeveloper.

please help us ...

Thanks, Rem]]></description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve the same problem using standalone OC4J provided with JDeveloper.</p>
<p>please help us &#8230;</p>
<p>Thanks, Rem</p>
]]></content:encoded>
	</item>
</channel>
</rss>
