[ 
https://issues.apache.org/jira/browse/QPID-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajith Attapattu updated QPID-1296:
-----------------------------------

    Attachment: SSL.patch

The following patch includes SSL support for the java client.
I made slight changes to the connection interfaces and classes in the 0-10 code 
path to pass in a boolean to indicate that an SSL connection should be creatred.
However SSLSocket implementation does not support the shutdownInput method used 
in the IoReceiver.java.
So we need to find an alternative scheme for the IoReceiver.

In order to test this code you would need to create a certificates using the 
keytool.
And then pass in the following JVM args 
-Djavax.net.ssl.trustStore=path_to_keystore 
-Djavax.net.ssl.trustStorePassword=password

I have tested this code against a dummy server and will checkin test cases as 
soon as the c++ broker has SSL support.
Another alternative is to use the Java broker with SSL and get the 0-9 codepath 
to use the IO transport.

> Add SSL support to java client
> ------------------------------
>
>                 Key: QPID-1296
>                 URL: https://issues.apache.org/jira/browse/QPID-1296
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M4
>
>         Attachments: SSL.patch
>
>
> Provide the ability for the java client to create SSL based connections.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to