Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

rhapsody design manager 6.0 : Hostname in certificate didn't match:

 I am trying to create connection with Rhapsody Design Manager  through java code but after running java code, it throws following exception when try to login RDM server: 

DM Client Exception: com.ibm.rational.rdm.sdk.DmClientException: com.ibm.xtools.rmpx.oauth.OAuthCommunicatorException: javax.net.ssl.SSLException: hostname in certificate didn't match.

Can anybody tell how to sort this issue? your help would greatly appreciated.  

0 votes


Accepted answer

Permanent link
The certificate that ships out of the box with the product is a generic one that is for localhost. You have to create your own self signed certificate or a real certificate, otherwise you get problems: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.jazz.install.doc/topics/t_install_server_certificates.html&scope=null

There might be something in the API to ignore certificate errors. I don't know.
Naveen Tyagi selected this answer as the correct answer

0 votes


2 other answers

Permanent link
Hi Ralph,
I am also facing same issue while connecting DM server using DM client sdk. I have tomcat server fr hosting DM application.
How to create own singed certificate for tomcat server and where to upload the new certificate by changing localhost to proper server url (https://servernem.domainname:9443/dm)

Any help would be appreciate

0 votes

Comments


The yellow section is called a link. Click on the link in my answer above.



1 vote

Hi Vikas,
Did you resolve the error?
At which point are you now?
If you still have problems, please give us further information on your environment (application server:  Tomcat or WAS (version?), OS, etc...).
Thanks
François

1 vote

Hi Francois,

We have created our own self signed certificate and It working fine now. Thanks.


Permanent link
When using the recommended http apache jar, you won't get the ceritificate issue.
See https://jazz.net/wiki/bin/view/Main/DMSdkDevelopmentEnvironment6

If you use other versions you need to create a valid (self signed) certificate.


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 6,121
× 1,700
× 382

Question asked: Jul 23 '15, 12:56 a.m.

Question was seen: 5,082 times

Last updated: Nov 29 '16, 5:51 a.m.

Related questions
Confirmation Cancel Confirm