> In my case I want to activate SSL for communications between jPOS
> server and jPOS client, to do I used the SunJSSESocketFactory class
> and th following server xml configuration :
> <?xml version="1.0" ?>
> <server class="org.jpos.q2.iso.QServer" logger="Q2"
> name="simulator_10000">
> <attr name="port" type="java.lang.Integer">10000</attr>
> <attr name="socketFactory">org.jpos.iso.SunJSSESocketFactory</attr>
> <property name="keystore" value="C:\Documents and Settings
> \Administrateur.88A71D1CFED64CC\servertest.private"/>
> <property name="clientauth" value="true"/>
With clientauth=true, a client connecting to this server will be asked
to supply it's certificate? I think this might be the stage which is
failing for you.
> <property name="storepassword" value="ashuashu"/>
> <property name="keypassword" value="ashuashu"/>
> <channel class="org.jpos.iso.channel.XMLChannel"
> logger="Q2" packager="org.jpos.iso.packager.XMLPackager">
> </channel>
> <request-listener class="org.jpos.bsh.BSHRequestListener"
> logger="Q2">
> <property name="source" value="cfg/serversimulator.bsh" />
> </request-listener>
> </server>
[snip]
> but when tring to connect to the server using a securised telnet
> client it generates the following errors message and there's no
> handshake between the two communication parts :
Can I ask what you are using for your 'securised telnet client'?
Have you added a certificate to this client software?
Can you try (just for now) setting clientauth=false?
In connecting a jPos SSL client to a jPos SSL server with
clientauth=true, I think both ends need certificates.
I do recall reading a step by step guide, but I can't remember where it
was and neither can I find it as I write.
--
Mark
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/8b6b0427-f825-4539-9555-9b745e479d30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.