Welcome to Port3101.org : Your BES Connection Mark forums read | View Forum Leaders
Port3101.org : Your BES Connection



Reply
LinkBack (2) Thread Tools Display Modes
KB05539 - Unable to connect to BlackBerry MDS Services using HTTPS
 
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-03-2008, 09:21 AM
Si's Avatar
Si Si is offline
Proprietor
 
Join Date: Nov 2008
Location: London, UK
Posts: 1,046
Blog Entries: 6
Default KB05539 - Unable to connect to BlackBerry MDS Services using HTTPS

KB05539 - Unable to connect to BlackBerry MDS Services using HTTPS

Environment

  • BlackBerry® Enterprise Server software version 4.1 Service Pack 2 (4.1.2) to Service Pack 6 (4.1.6)
  • BlackBerry® Mobile Data System (BlackBerry MDS)
  • IBM® Lotus® Domino®
  • Microsoft® Exchange
  • SDR100044



Overview

In BlackBerry Manager, you are unable to connect to the BlackBerry MDS Services using Hypertext Transfer Protocol over Secure Sockets Layer (HTTPS).
The BlackBerry Manager (MNGR) file displays the following:
[20000] (09/18 14:42:40.678):{0x1EE8} CMDSAGView: Bad hResult, -2147467261 - Object reference not set to an instance of an object., from AG web service call MDSAGAdminMgmt(testWsAccess - getServerStatus. Asking user to get SSL certificate.)

[30000] (09/18 14:42:44.100):{0x2758} Bad hResult 0x80004003, at mdsagview.cpp line 376, from AG call CMDSAGView::PrepareData - getServerStatus, source - MDSAGAdminMgmt, error - Object reference not set to an instance of an object.

[40000] (09/18 14:42:46.350):{0x1A38} [rimdevicemanagementimpl::ThreadProc] Destroying RIMDeviceMonitor



Cause

The following are possible causes for this problem:
  1. The default.jks key store does not contain the fully qualified domain name (FQDN) of the BlackBerry MDS Services for the Apache Tomcat™ alias.
  2. A proxy server is preventing access to http://<FQDN>:7443/mdss and allowing access to http://<NETBIOS>:7443/mdss.
  3. The computer hosting BlackBerry Enterprise Server software version 4.1.2 has multiple hard drives and the JKS file was installed on an incorrect drive.



Resolution

Complete the appropriate resolution or workaround for the cause.
Cause 1
The default.jks (server.key) key store does not contain the FQDN of the BlackBerry MDS Services for the Apache Tomcat alias.
Note: For BlackBerry Enterprise Server software version 4.1 Service Pack 3 (4.1.3) and later, server.key replaces the default.jks key store.
The server.key key store is located in the following directory:
<installation directory>:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDSS\config\security\
Resolution 1
  1. Browse to the following directory from a command prompt: <installation directory>:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDSS\bin
  2. Type the following command (do not include quotes or parentheses): >jks-generate.bat <KEYSTORE_PASSWORD> <FQDN>
    where <KEYSTORE_PASSWORD> is the keystore password, which by default is changeme, and <FQDN> is the FQDN of the BlackBerry Enterprise Server BlackBerry MDS Services host, e.g., blackberry.testnet.com
  3. If BlackBerry Manager is open, close it.
  4. In Microsoft® Internet Explorer®, select Tools > Internet Options.
  5. On the Content tab, select Certificates.
  6. Click Trusted Root Certification Authorities.
  7. Look for any certificates that resemble the computer name or FQDN of the BlackBerry Enterprise Server, or that reference MDS Services.
  8. Remove those certificates.
  9. Restart the BlackBerry MDS Services Apache Tomcat service.
  10. Open BlackBerry Manager and install the certificate.

Cause 2
A proxy server is preventing access to http://<FQDN>:7443/mdss, and allowing access to http://>:7443/mdss.
For example, you cannot connect using http://computer_name.domain.com:7443/mdss but you can connect using http://computer_name:7443/mdss
Note: The BlackBerry Enterprise Server uses Microsoft Internet Explorer components to access the MDSS page. A proxy server could be blocking access to the site.
Workaround
Disable the proxy server.
Note: If a proxy server is required, correct the proxy configuration to let Microsoft Internet Explorer connect back to itself.
To disable the proxy server, from Microsoft Internet Explorer perform the following steps:
  1. Click on Tools > Internet Options
  2. Select the Connections tab and click LAN Settings.
  3. Clear the options in the LAN Settings section.

Cause 3
The computer hosting BlackBerry Enterprise Server software version 4.1.2 has multiple hard disks. The BlackBerry Enterprise Server software was not installed on the default hard disk, but the setup program installed a JKS file used by the BlackBerry MDS Services to accept Secure Sockets Layer (SSL) certificates, in the default drive.
Resolution 3
This is a previously reported issue that has been escalated internally to our development team. No resolution time frame is currently available.
Workaround
  1. Search for the default.jks (server.key) file in the default disk (for example, C:\) of the computer hosting the BlackBerry Enterprise Server.
  2. Copy and paste the file into the following directory: :\<installation_directory>\BlackBerry Enterprise Server\MDSS\config\security



Additional Information

If you cannot import the certificate using BlackBerry Manager, import it using Microsoft Internet Explorer. To do this, open Microsoft Internet Explorer and type https://computer_name.domain.com:7443/mds. You should be prompted for the BlackBerry MDS Services administration account user name and password. Type the account name and password as specified during the BlackBerry MDS Services installation. You can also locate the user name and password in the BlackBerry Configuration Database.
Note: You will only be able to access the BlackBerry MDS Services using the HTTPS link in BlackBerry Manager once you can successfully connect to the BlackBerry MDS Services using the HTTPS link in Microsoft Internet Explorer without being prompted to install a certificate.
__________________
Si MCTS
Co-Owner
Port3101 - Your BES Connection

Don't forget, you can follow us on Twitter

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-07-2009, 05:20 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

updated.
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #3 (permalink)  
Old 08-09-2009, 02:11 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

I cannot log into https://:/mds-admin
I can log into http://:8080 and get the mds welcome screen
I have checked the following all to no avail
KB12235
KB05539
When I try and start the MDS Integration it just starts runs a few seconds then restarts one minute afterwards continuosly (sp)
I have serached and search and it seems everyone points to KB05539 which does not help me at all
I have looked inside the server.key and it indeed shows my
any hints or ideas are welcome
I also noted that many people that asked this same question have had the threads simply die and no hey that worked for me etc added.
I do not have a proxy server nor more than one hard drive on the BES as well
only oddity I see is the has a name-name which I understand is legal characters to use
Anyway thanks in advance to all who have helped

SkyPilot 9530 Bell

Last edited by SkyPilot; 08-10-2009 at 06:03 PM.
Reply With Quote
  #4 (permalink)  
Old 08-10-2009, 06:59 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

what do the MDS-IS logs show for errors?
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #5 (permalink)  
Old 08-12-2009, 07:25 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

Quote:
Originally Posted by hdawg View Post
what do the MDS-IS logs show for errors?
CMDSAGView: Bad hResult, -2147467261 - Object reference not set to an instance of an object., from AG web service call MDSAGAdminMgmt(testWsAccess - getServerStatus. Asking user to get SSL certificate.)
that is the error I last got
I am not sure if this is from the MDS-IS log or not
what specifics could I provide?
thanks again
Reply With Quote
  #6 (permalink)  
Old 08-14-2009, 08:37 AM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

Can you post more data from the MDS-IS log? Do you have an app that you're integrating back-end data to?
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #7 (permalink)  
Old 08-14-2009, 06:38 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

Quote:
Originally Posted by hdawg View Post
Can you post more data from the MDS-IS log? Do you have an app that you're integrating back-end data to?
Yes I will gather that and post it which log exactly are you looking for none have the name MDS-IS
Reply With Quote
  #8 (permalink)  
Old 08-15-2009, 09:41 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

Do you have logs with prefixes MDSS?
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #9 (permalink)  
Old 08-15-2009, 09:42 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

That said ... are you using any apps integrated with MDSS?
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #10 (permalink)  
Old 08-19-2009, 05:38 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

Quote:
Originally Posted by hdawg View Post
Do you have logs with prefixes MDSS?
Yes I do
these files are quite large is there a particular area I should look at and copy here?
Sorry for the delay getting back with you
Reply With Quote
  #11 (permalink)  
Old 08-19-2009, 05:40 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

Quote:
Originally Posted by hdawg View Post
That said ... are you using any apps integrated with MDSS?
The reason I am going through all this is I need to have MDS as I am installing a new ap from flow finity that uses MDS services so i need to get it working
but till now have not had the need
Tom
Reply With Quote
  #12 (permalink)  
Old 08-20-2009, 07:09 AM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

Look at the logs matching the times when you attempt to start up the service and then the following few minutes where it dies ... those lines in particular.

Are you sure the flowfinity app requires MDSS? Just want to make sure as I've used apps with them before and never used MDSS only MDS-CS.
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
  #13 (permalink)  
Old 08-20-2009, 01:46 PM
BES Activated
 
Join Date: Jul 2009
Location: Vancouver
Posts: 6
Send a message via ICQ to SkyPilot
Default

Quote:
Originally Posted by hdawg View Post
Look at the logs matching the times when you attempt to start up the service and then the following few minutes where it dies ... those lines in particular.

Are you sure the flowfinity app requires MDSS? Just want to make sure as I've used apps with them before and never used MDSS only MDS-CS.
That is a good point to ponder
Am I able to run the mds-cs without the mds integration?
seems that the mds integration is where the communication would be
also upon reading the documentaion from flow finity it states "MDS Connection Service is the only component required for flow finity applications"
Reply With Quote
  #14 (permalink)  
Old 08-20-2009, 02:54 PM
Cheese Sammich's Avatar
Super Moderator
 
Join Date: Dec 2008
Location: Long Island
Posts: 232
Default

Quote:
Originally Posted by SkyPilot View Post
Am I able to run the mds-cs without the mds integration?
seems that the mds integration is where the communication would be
also upon reading the documentaion from flow finity it states "MDS Connection Service is the only component required for flow finity applications"
MDS-CS and MDSS are two very different things.
MDS-CS does not require MDSS to function.

Sounds like you only need MDS-CS for your applications.
__________________
Reply With Quote
  #15 (permalink)  
Old 08-20-2009, 04:41 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default

Yup, you only need MDS-CS. Like 99.9% of everyone else I've ever spoken to about MDSS/MDS-IS you don't need it. MDSS/MDS-IS is a totally separate function of BES that does integration with back-end applications. If you need to simply access the app from the HH you just need MDS-CS ... which is what does the connection.
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.port3101.org/featured-blackberry-kb-articles/63-kb05539-unable-connect-blackberry-mds-services-using-https.html
Posted By For Type Date
MDS integration Service error - Zuula Search This thread Refback 02-03-2010 06:07 AM
MDS integration Service error - Zuula Search This thread Refback 11-11-2009 05:15 AM


All times are GMT -4. The time now is 02:14 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.


 

SEO by vBSEO 3.3.2 PL2