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 » General IBM MQ Support » problem with SSLPEER attributes

Post new topic  Reply to topic
 problem with SSLPEER attributes « View previous topic :: View next topic » 
Author Message
punnam
PostPosted: Fri May 13, 2005 1:03 pm    Post subject: problem with SSLPEER attributes Reply with quote

Novice

Joined: 12 Apr 2005
Posts: 19

while i am creating SSL certificate request i gave zipcode also.Now when i am trying to define channels with
SSLPEER('CN=...,OU=....,O=....,L=.....,ST=....,PC=....,C=....')

PC refers to zipcode, getting error .What could be the problem?

any suggestions please
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sun May 15, 2005 9:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

What error do you get?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
punnam
PostPosted: Mon May 16, 2005 6:58 am    Post subject: Reply with quote

Novice

Joined: 12 Apr 2005
Posts: 19

invvalid syntax for SSLPEER

if i remove PC attribute then it woorks fine.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon May 16, 2005 8:48 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I don't see a PC option in the security manual.

What versions and platforms are you using?

Here is th elink I checked

http://publibfp.boulder.ibm.com/epubs/html/csqzas01/csqzas01tfrm.htm
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon May 16, 2005 9:27 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

This is interesting...
If we create a certificate request using gsk6ikm, it gives the option for ZipCode . I think I checked most of the manuals, if not all and I don't see any option to specify the ZipCode when we define/alter the SSLPEER value.
I usually leave the ZipCode value blank.
Back to top
View user's profile Send private message Visit poster's website
vennela
PostPosted: Mon May 16, 2005 9:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I issued a
Code:

dis chs (QM1.TO.QM2) all

and I got the following output

Code:

   CHANNEL(QM1.TO.QM2)                     XMITQ(QM2)
   CONNAME(localhost(1415))                CURRENT
   CHLTYPE(SDR)                            INDOUBT(NO)
   LSTSEQNO(0)                             LSTLUWID(0000000000000000)
   CURMSGS(0)                              CURSEQNO(0)
   CURLUWID(41D8884210000001)              STATUS(RUNNING)
   LSTMSGTI( )                             LSTMSGDA( )
   MSGS(0)                                 BYTSSENT(132)
   BYTSRCVD(132)                           BATCHES(0)
   BATCHSZ(50)                             HBINT(300)
   NPMSPEED(FAST)                          CHSTATI(12.28.32)
   CHSTADA(2005-05-16)                     BUFSSENT(1)
   BUFSRCVD(1)                             LONGRTS(999999999)
   SHORTRTS(10)                            JOBNAME(00000E2000000E30)
   MCASTAT(RUNNING)                        STOPREQ(NO)
   LOCLADDR(127.0.0.1(4340))
   SSLPEER(CN=test, OU=HO, O=SITS, L=Location, S=AR, PostalCode=72712, C=US)
   RQMNAME(QM2)


From your post, looks like you are using PC for ZIP code. Change that to PostalCode as shown above and see if that resolves.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
punnam
PostPosted: Mon May 16, 2005 1:16 pm    Post subject: Reply with quote

Novice

Joined: 12 Apr 2005
Posts: 19

SSLPEER(CN=test, OU=HO, O=SITS, L=Location, S=AR, PostalCode=72712, C=US)

i tried above one but still same "Invalid Syntax for SSLPEER"
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon May 16, 2005 1:27 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

What version of MQ and what platform?

What does the output from a :

Quote:
dis chs (your.channel) all


give you?
Back to top
View user's profile Send private message
bbburson
PostPosted: Mon May 16, 2005 1:46 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

From the WMQ Command Reference manual:

Code:
The possible attribute types supported are:
     CN common name
     T    title
     OU organizational unit name
     O   organization name
     L    locality name
     S, ST, or SP state or province name
     C    country
WebSphere MQ will only accept upper case letters for the attribute types.
If any of the unsupported attribute types are specified in the SSLPEER
string, an error is output either when the attribute is defined or at run time
(depending on which platform you are running on), and the string is
deemed not to have matched the flowed certificate’s Distinguished Name.


Looks like PostalCode is not supported for WMQ definitions.
Back to top
View user's profile Send private message
Anirud
PostPosted: Tue May 17, 2005 7:42 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

bbburson wrote:
Looks like PostalCode is not supported for WMQ definitions.

I was wondering why do we have the ZipCode option when using GUI (gsk6ikm) to generate a certificate request.

punnam,
one solution would be to leave the SSLPEER value blank and alter the SSLCIPH (on SDR and RCVR channels) and SSLCAUTH (on the RCVR channel) values according to your requirements and then start the channel. That should start your channel.
I tried doing that and it works for me. I guess Vennela did the same thing.

My display chstatus shows

Code:
dis chs(qm1.qm2) all
    20 : dis chs(qm1.qm2) all
AMQ8417: Display Channel Status details.
   CHANNEL(QM1.QM2)                        XMITQ(QM2)
   CONNAME(qm1.planetf1.com(1416))         CURRENT
   CHLTYPE(SDR)                            INDOUBT(NO)
   LSTSEQNO(0)                             LSTLUWID(0000000000000000)
   CURMSGS(0)                              CURSEQNO(0)
   CURLUWID(428A02C210000201)              STATUS(RUNNING)
   LSTMSGTI( )                             LSTMSGDA( )
   MSGS(0)                                 BYTSSENT(272)
   BYTSRCVD(272)                           BATCHES(5)
   BATCHSZ(50)                             HBINT(300)
   NPMSPEED(FAST)                          CHSTATI(11.03.21)
   CHSTADA(2005-05-17)                     BUFSSENT(6)
   BUFSRCVD(6)                             LONGRTS(999999999)
   SHORTRTS(10)                            JOBNAME(000149C200000001)
   MCASTAT(RUNNING)                        STOPREQ(NO)
   LOCLADDR(127.0.0.1(3841))
   SSLPEER(CN=qm1.planetf1.com,OU=Formula1,O=PlanetF1,L=MNT,ST=TX,PC=70710,C=US)
   RQMNAME(QM2)
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue May 17, 2005 8:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Anirud wrote:
bbburson wrote:
Looks like PostalCode is not supported for WMQ definitions.

I was wondering why do we have the ZipCode option when using GUI (gsk6ikm) to generate a certificate request.


Because it's probably supported for other WebSphere products.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Anirud
PostPosted: Tue May 17, 2005 10:01 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

jefflowrey wrote:
Anirud wrote:
bbburson wrote:
Looks like PostalCode is not supported for WMQ definitions.

I was wondering why do we have the ZipCode option when using GUI (gsk6ikm) to generate a certificate request.


Because it's probably supported for other WebSphere products.

Might be. For some reason I wasn't thinking beyond MQ.

Thanks.
Back to top
View user's profile Send private message Visit poster's website
punnam
PostPosted: Tue May 17, 2005 11:16 am    Post subject: Reply with quote

Novice

Joined: 12 Apr 2005
Posts: 19

i tried with the SSLPEER value blank and alter the SSLCIPH (on SDR and RCVR channels) and SSLCAUTH (on the RCVR channel) values .it works fine.
thank you very much for your support
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » problem with SSLPEER attributes
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.