<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Programming SSL for Jetty based CXF services</title>
	<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/</link>
	<description>Life, Technology and More</description>
	<pubDate>Wed, 10 Mar 2010 09:44:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Armin</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3883</link>
		<author>Armin</author>
		<pubDate>Fri, 05 Jun 2009 17:00:43 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3883</guid>
		<description>Thanks for the useful information, I haven't run the sample but I needed some info on this subject and now I have it.</description>
		<content:encoded><![CDATA[<p>Thanks for the useful information, I haven&#8217;t run the sample but I needed some info on this subject and now I have it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3873</link>
		<author>Arul</author>
		<pubDate>Thu, 07 May 2009 19:55:47 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3873</guid>
		<description>Awesome. I am glad you were able to resolve it.

-Arul</description>
		<content:encoded><![CDATA[<p>Awesome. I am glad you were able to resolve it.</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paulbrickell</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3872</link>
		<author>paulbrickell</author>
		<pubDate>Thu, 07 May 2009 14:07:05 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3872</guid>
		<description>Ref my own post at May 7th, 2009 at 7:37 am.

I got this error even after importing all the certificates explicitly.

But After a restart of firefox I got a warning about low grade security, clicked OK and the page did load.</description>
		<content:encoded><![CDATA[<p>Ref my own post at May 7th, 2009 at 7:37 am.</p>
<p>I got this error even after importing all the certificates explicitly.</p>
<p>But After a restart of firefox I got a warning about low grade security, clicked OK and the page did load.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paulbrickell</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3871</link>
		<author>paulbrickell</author>
		<pubDate>Thu, 07 May 2009 13:37:58 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3871</guid>
		<description>If I try to access the url with firefox I get an error page with...

Peer's certificate has an invalid signature.

Error code: sec_error_bad_signature

On the server I get...

WARNING: EXCEPTION 
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1650)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:925)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1116)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1100)
	at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:615)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)


Any ideas?

BTW thanks for the blog.</description>
		<content:encoded><![CDATA[<p>If I try to access the url with firefox I get an error page with&#8230;</p>
<p>Peer&#8217;s certificate has an invalid signature.</p>
<p>Error code: sec_error_bad_signature</p>
<p>On the server I get&#8230;</p>
<p>WARNING: EXCEPTION<br />
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure<br />
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)<br />
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)<br />
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1650)<br />
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:925)<br />
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1089)<br />
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1116)<br />
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1100)<br />
	at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:615)<br />
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)</p>
<p>Any ideas?</p>
<p>BTW thanks for the blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3858</link>
		<author>Arul</author>
		<pubDate>Wed, 01 Apr 2009 03:36:44 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3858</guid>
		<description>Jasser,

I am glad this entry was useful to you.

-Arul</description>
		<content:encoded><![CDATA[<p>Jasser,</p>
<p>I am glad this entry was useful to you.</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasser</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3856</link>
		<author>jasser</author>
		<pubDate>Mon, 30 Mar 2009 09:57:57 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3856</guid>
		<description>Thanks a lot for sharing Java API for SSL ws configuration.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for sharing Java API for SSL ws configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3854</link>
		<author>Arul</author>
		<pubDate>Sat, 28 Feb 2009 23:41:10 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3854</guid>
		<description>Ashish,

I used the certificates distributed with the wsdl_first_https CXF sample. This sample also ships a script (gencerts.sh) which does this for you. You can access the script from SVN here:  http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.4/distribution/src/main/release/samples/wsdl_first_https/bin/gencerts.sh

-Arul</description>
		<content:encoded><![CDATA[<p>Ashish,</p>
<p>I used the certificates distributed with the wsdl_first_https CXF sample. This sample also ships a script (gencerts.sh) which does this for you. You can access the script from SVN here:  <a href="http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.4/distribution/src/main/release/samples/wsdl_first_https/bin/gencerts.sh" rel="nofollow">http://svn.apache.org/repos/asf/cxf/tags/cxf-2.1.4/distribution/src/main/release/samples/wsdl_first_https/bin/gencerts.sh</a></p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3853</link>
		<author>Ashish</author>
		<pubDate>Fri, 27 Feb 2009 09:20:08 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3853</guid>
		<description>Arul,

Can you also tell us, how to generate the certificates used with this article</description>
		<content:encoded><![CDATA[<p>Arul,</p>
<p>Can you also tell us, how to generate the certificates used with this article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3850</link>
		<author>Arul</author>
		<pubDate>Wed, 11 Feb 2009 04:29:03 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3850</guid>
		<description>The certificate locations were hard coded in the Server and Client code attached in this blog entry. Make sure you change it to your CXF sample certificates location (For ex: C:\CXF\apache-cxf-2.1.1\samples\wsdl_first_https\certs on windows).

Let me know if you are still facing this issue.

-Arul</description>
		<content:encoded><![CDATA[<p>The certificate locations were hard coded in the Server and Client code attached in this blog entry. Make sure you change it to your CXF sample certificates location (For ex: C:\CXF\apache-cxf-2.1.1\samples\wsdl_first_https\certs on windows).</p>
<p>Let me know if you are still facing this issue.</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nocturne</title>
		<link>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3849</link>
		<author>nocturne</author>
		<pubDate>Tue, 10 Feb 2009 10:12:19 +0000</pubDate>
		<guid>http://aruld.info/programming-ssl-for-jetty-based-cxf-services/#comment-3849</guid>
		<description>I run all your code but I still get the port mismatch error code.

in this code
"
JettyHTTPServerEngineFactory factory = new JettyHTTPServerEngineFactory(); 
            factory.setTLSServerParametersForPort(port, tlsParams);
"
is the factory is doing something to JaxWsServerFactoryBean sf input in configureSSLOnTheServer method

regards,
is there something to do with Ser</description>
		<content:encoded><![CDATA[<p>I run all your code but I still get the port mismatch error code.</p>
<p>in this code<br />
&#8221;<br />
JettyHTTPServerEngineFactory factory = new JettyHTTPServerEngineFactory();<br />
            factory.setTLSServerParametersForPort(port, tlsParams);<br />
&#8221;<br />
is the factory is doing something to JaxWsServerFactoryBean sf input in configureSSLOnTheServer method</p>
<p>regards,<br />
is there something to do with Ser</p>
]]></content:encoded>
	</item>
</channel>
</rss>
