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. |
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Jul 23 '15, 4:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 23 '15, 4:21 a.m.
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
|
2 other answers
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 Comments 1
Ralph Schoon
commented Jul 23 '15, 5:00 a.m.
| edited Jul 23 '15, 5:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
1
Francois-xavier Panaget
commented Jul 28 '15, 4:29 a.m.
Hi Vikas,
Naveen Tyagi
commented Jul 28 '15, 4:42 a.m.
Hi Francois,
|
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. |
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.