ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing Key Store from ESQL

Post new topic  Reply to topic
 Accessing Key Store from ESQL « View previous topic :: View next topic » 
Author Message
eairesource
PostPosted: Tue Aug 27, 2013 9:43 am    Post subject: Accessing Key Store from ESQL Reply with quote

Newbie

Joined: 16 Apr 2013
Posts: 9

Is there a way I can access cert/key of keystore from the Message broker ESQL code?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Aug 27, 2013 10:13 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

eairesource wrote:
Is there a way I can access cert/key of keystore from the Message broker ESQL code?


Yes.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Aug 27, 2013 10:26 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

eairesource wrote:
Is there a way I can access cert/key of keystore from the Message broker ESQL code?


Define "access" - do you mean to apply the contents of the keystore for SSL validation, extract the certificate to send to a 3rd party, determine the expiry date of the certificate for administrative purposes, what?

You might also (to head off the next round of obvious questions) explain why you want to do this in ESQL when most of the typical use cases that involve a keystore are handed off to the WMB software to deal with via "access" to the keystore.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed Aug 28, 2013 2:21 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

eairesource wrote:
Is there a way I can access cert/key of keystore from the Message broker ESQL code?

No.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Aug 28, 2013 3:16 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Tibor wrote:
eairesource wrote:
Is there a way I can access cert/key of keystore from the Message broker ESQL code?

No.


Tibor, if you do not know what you are talking about, then don't post. YES - one can easily access the key store or truststore from ESQL by calling a Java wrapper around javax.net.ssl class.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Wed Aug 28, 2013 3:21 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

lancelotlinc wrote:
one can easily access the key store or truststore from ESQL by calling a Java wrapper around javax.net.ssl class.

It is true, but strictly it is not an ESQL but a Java solution.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Aug 28, 2013 3:24 am    Post subject: Re: Accessing Key Store from ESQL Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Tibor wrote:
lancelotlinc wrote:
one can easily access the key store or truststore from ESQL by calling a Java wrapper around javax.net.ssl class.

It is true, but strictly it is not an ESQL but a Java solution.


Here is the question:

CAN YOU ACCESS THE KEYSTORE FROM ESQL?

The answer is YES, which is not what you said.

Using your <incorrect> logic, one could say that ESQL is not an ESQL solution but an assembler/C solution.

Back to Vitor's point: Why does the OP want to access the keystore from ESQL? Of what benefit or business value does this accomplish? Not much.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Accessing Key Store from ESQL
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.