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 » SSL Set up in IIB

Post new topic  Reply to topic
 SSL Set up in IIB « View previous topic :: View next topic » 
Author Message
chaitu
PostPosted: Sat Jul 09, 2016 9:44 am    Post subject: SSL Set up in IIB Reply with quote

Voyager

Joined: 15 Apr 2014
Posts: 89

Hi All,

I need to set a ssl in soap request node. I searched so many articles and tried all those but nothing is worked I am failing in some steps. Can any one of you sent me a link of a document which is really useful. I am using IIB v9.



Thanks.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat Jul 09, 2016 10:04 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

There are numerous threads here about this very issue.

Why don't you show us what you have done in detail and what errors you are getting,
Then we can help you directly.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
chaitu
PostPosted: Sun Jul 10, 2016 11:45 pm    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2014
Posts: 89

Hi All

I am followingthe below link
Code:

http://www.ibm.com/developerworks/websphere/library/techarticles/1205_bhat/1205_bhat.html


I runned the two commands
Code:

keytool -genkey -alias IB9NODE -keystore IB9NODE.jks -keysize 2048

for keystore generate


and also for generating CSR
Code:

keytool -certreq -alias IB9NODE -keystore IB9NODE.jks -file BROKER1.csr


for Import a root or intermediate CA certificate to the existing keystore
Code:

keytool -import -trustcacerts -alias root -file Thawte.crt -keystore IB9NODE.jks

for this I am getting error like
keytool error (likely untranslated): java.io.FileNotFoundException: Thawte.crt (
The system cannot find the file specified.)


could any one guide me to go further.
Back to top
View user's profile Send private message
chaitu
PostPosted: Sun Jul 10, 2016 11:48 pm    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2014
Posts: 89

And also I was given a sample.jks file which I need to use for SSL.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jul 11, 2016 1:24 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

So your error message says that it can't find the 'Thawte.crt' file.

Looking at the Developerworks doc you linked, this file is needed before you start. That's why you get the error.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
chaitu
PostPosted: Mon Jul 11, 2016 2:21 am    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2014
Posts: 89

Hi smdavies99,

I had a sample.jks file I need to use this file to set up ssl. I had a question that am I going with correct steps because all the below commands are to create certificate I guess no where I am using my jks file.
out of my understanding I need not do run all the commands I can start from
Code:

mqsireportproperties BROKER1 -o BrokerRegistry -r
BrokerRegistry
    uuid='BrokerRegistry'
    brokerKeystoreType='JKS'
    brokerKeystoreFile=' /home/brkr/BROKER1.jks’
    brokerKeystorePass='brokerKeystore::password'
    brokerTruststoreType='JKS'
    brokerTruststoreFile=' /opt/IBM/mqsi/7.0/jre16/lib/security/cacerts'
    brokerTruststorePass='brokerTruststore::password'
    httpConnectorPortRange=''
    httpsConnectorPortRange=''
    modeExtensions=''
    operationMode='enterprise'
    shortDesc=''
    longDesc='''


Could anyone tell me the steps.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jul 11, 2016 4:04 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What is wrong with
Configuring Message Broker to serve HTTP/HTTPS requests
section of the guild you referenced at the start of this thread?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
chaitu
PostPosted: Mon Jul 11, 2016 7:37 am    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2014
Posts: 89

Error is
Code:

Correct the arguments and rerun the command.

BIP8004E: Invalid argument 'BrokerRegistry' specified.
Argument specified should be well formed.
Correct and reissue the command.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 11, 2016 7:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

chaitu wrote:
Error is
Code:

Correct the arguments and rerun the command.

BIP8004E: Invalid argument 'BrokerRegistry' specified.
Argument specified should be well formed.
Correct and reissue the command.

The error is of little to no value without the command that spawned it...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ganesh
PostPosted: Mon Jul 11, 2016 11:39 am    Post subject: Reply with quote

Master

Joined: 18 Jul 2010
Posts: 294

Did you intend to leave the default cert store or where you going to set a path to your jks file ?

"brokerTruststoreFile=' /opt/IBM/mqsi/7.0/jre16/lib/security/cacerts'"

Take a user trace or a service trace to see what the exception is, a trace will have more details of what exactly is the problem.
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 » WebSphere Message Broker (ACE) Support » SSL Set up in IIB
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.