Author |
Message
|
eswarnv |
Posted: Thu Nov 27, 2003 12:39 am Post subject: Encrypting the message data ????? |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Hi
I have a scenario like, my MQ network is DQM implementation. In one of the message we pass "PASSWORD" to remote queue manager. This password I want to encrypt at source qmgr and decrypt at remote(partner) queue manager.
I would like to know , is there any default mechanism or any work around for this.
I am using MQ 5.2 not MQ 5.3. And one more thing, Can I write channel exits using Java ???
Many Many Advanced Thanks
Eswar. |
|
Back to top |
|
 |
dgolding |
Posted: Thu Nov 27, 2003 1:10 am Post subject: Encrypting the message data ????? |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Here's my $0.02:
1) In Unix, it is easy to encrypt a message - use the encrypt function. According to the man page, decyrption is one of those "Feds-only" thing that may or may not be available.
2) AFAIK, (if you're using Unix), the exit must be compiled and linked as a shared object - which, again AFAIK, Java code isn't.
What's the problem with using 5.3 and SSL? 5.2 goes out of service in a month!
HTH |
|
Back to top |
|
 |
eswarnv |
Posted: Thu Nov 27, 2003 5:15 am Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Thanks for the reply.
In my scenario one qmgr sits on solaris and other sits on ZO/S.
Still Can I use encrypt function as you said???
Can u please eloborate some more on encrypt function, otherwise give me url or info of the document which explains this.
Many Thanks
Eswar |
|
Back to top |
|
 |
dgolding |
Posted: Thu Nov 27, 2003 6:11 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Do a "man encrypt" on your solaris box.
The decrypt function may or may not work - depending if you're based in the US or not I think.
I don't know whether it is available on OS/390 Z/OS or not - it's a standard Unix C function, so maybe.
Without decryption you're really stuck. Why can't you upgrade to 5.3? |
|
Back to top |
|
 |
eswarnv |
Posted: Thu Nov 27, 2003 5:50 pm Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Thanks for the information.
We do have plans for upgrading to 5.3, but that is not yet decided.
Our ZO/S server is in Germany, so decrypt function may not be available , am I right? In this case can I use channel exits using C language?
If u have any, please mail to nveswar_01@yahoo.co.in
Many Thanks in Advance
Eswar |
|
Back to top |
|
 |
eswarnv |
Posted: Thu Nov 27, 2003 10:56 pm Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Thanks for the information.
We do have plans for upgrading to 5.3, but that is not yet decided.
Our ZO/S server is in Germany, so decrypt function may not be available , am I right? In this case can I use channel exits using C language?
If u have any C programs, please mail to nveswar_01@yahoo.co.in
Can I apply these exits to only one message of all messages which goes thru same channel?
Many Thanks in Advance
Eswar |
|
Back to top |
|
 |
dgolding |
Posted: Fri Nov 28, 2003 12:27 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Channel exits MUST (AFAIK) be in "C". There are sample channel exits available in /opt/mqm/samp.
AFAIK, if you have a MSGEXIT defined, it runs for every message. |
|
Back to top |
|
 |
eswarnv |
Posted: Fri Nov 28, 2003 1:09 am Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Hi dgolding,
Thanks for the reply.
In my case I have to encrypt/decrypt for only one message. If u have any idea please share with me, at the same time I can't create one more channel for this purpose.
By the way, what do u mean by "AFAIK". I dont understand this.
Many Thanks
Eswar. |
|
Back to top |
|
 |
dgolding |
Posted: Fri Nov 28, 2003 1:11 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Netspeak...
HTH - Hope This Helps
AFAIK - As Far As I Know
IMHO - In My Humble Opinion
....I'm sure there's more  |
|
Back to top |
|
 |
eswarnv |
Posted: Mon Dec 01, 2003 4:17 am Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 88
|
Hi dgolding,
We are going to upgrade to 5.3.
Can u please give me the idea of "How to configure encrypt/decrypt" for my sender and receiver channel.
Many Thanks in Advance
Eswar. |
|
Back to top |
|
 |
dgolding |
Posted: Mon Dec 01, 2003 4:22 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
|
Back to top |
|
 |
|