Hi Tharindu,

I used the same way to keystore and truststore and also I'll try with SSL
Context in the java client.

When  I try with system properties,  I got the 2397 (095D) (RC2397):
MQRC_JSSE_ERROR . why this was happened?

Can you share the sample code ? It will help to me.

On Tue, Nov 17, 2015 at 6:40 AM, Tharindu Edirisinghe <[email protected]>
wrote:

> Hi Kirishanthy,
>
> Have you created a new keystore and a truststore for this ? If so you can
> export the public certificate from the keystore and store it in the
> truststore used by the client app.
>
> In [1], I see that for the java client, it sets the keystore and
> truststore paths and passwords as system properties. This is not
> recommended. The recommended way is to initialize the SSL Context in the
> java client by providing the KeyManager and TrustManager from the code
> itself. If you need more help I'd be able to provide some sample code for
> that.. However if you just need to test this, you can set the keystore and
> truststores as system properties.
>
> [1]
> http://www.ibm.com/developerworks/websphere/library/techarticles/0510_fehners/0510_fehners.html
>
> Regards,
> Tharindu
>
> On Thu, Nov 12, 2015 at 10:47 PM, Kirishanthy Tharmalingam <
> [email protected]> wrote:
>
>> Hi all,
>>
>> I forgot to add the link [1]  in the previous mail , Sorry for that.
>>
>> [1]
>> http://www.ibm.com/developerworks/websphere/library/techarticles/0510_fehners/0510_fehners.html
>>
>> On Fri, Nov 13, 2015 at 12:14 PM, Kirishanthy Tharmalingam <
>> [email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I'm working on IBM WebSphere MQ , I need to do the SSL configuration for
>>> the communication.
>>>
>>> I'm following [1] to get the trustore and keystore , In this document I
>>> need to get certificate of the CA.
>>>
>>> where I can get the certificate ? or Is there any other solution for SSL
>>> configuration ?
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> Kirishanthy
>>> Associate Software Engineer
>>> Mobile : +94 778333939
>>> [email protected]
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Kirishanthy
>> Associate Software Engineer
>> Mobile : +94 778333939
>> [email protected]
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Identity Server Team
> Blog : tharindue.blogspot.com
> mobile : 408-714-8437
>
>
>


-- 
Thanks & Regards,
Kirishanthy
Associate Software Engineer
Mobile : +94 778333939
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to