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



Rate this Entry

How to import a non-default SSL certificate after the installation of the BAS

Submit "How to import a non-default SSL certificate after the installation of the BAS" to Digg Submit "How to import a non-default SSL certificate after the installation of the BAS" to del.icio.us Submit "How to import a non-default SSL certificate after the installation of the BAS" to StumbleUpon Submit "How to import a non-default SSL certificate after the installation of the BAS" to Google
Posted 07-24-2009 at 04:00 AM by hdawg

For those that have upgraded to BES 5.0 and are knee deep into the new management interface; the BAS, you'll notice that when you perform your installation the server uses a self-signed SSL certificate for encrypting the HTTPS connections.

While it is easy enough to either add the certificate to the trusted store / trusted root (Internet Explorer) or create an exception (Firefox) for a machine or two; I find it a hassle and would rather use either a 3rd party signed certificate or a certificate signed by another trusted root (perhaps an internal CA).

Taken from KB12887 - How to import a non-default SSL certificate after the installation of BAS ... here it is:

Task 1 - Reset the BlackBerry Administration Service key store password
  1. Click Start > All Programs > BlackBerry Enterprise Server > BlackBerry Server Configuration.
  2. Click the Administration Service - Cacerts keystore tab.
  3. Type a key store password in New Password and Confirm New Password.
Task 2 - Generate a certificate request to your certification authority
  1. Open a command prompt.
  2. Change the directory to the bin folder for the appropriate version of the Java Runtime Environment (JRE). For example:
    C:\Program Files\Java\jre1.6.0_07\bin
  3. Type keytool -certreq -alias httpssl -keystore "C:\Program Files\Research in Motion\BlackBerry Enterprise Server\BAS\bin\web.keystore" -file "C:\certreq.csr"
  4. When prompted, enter the key store password that you created in Task 1.
Task 3 - Request the certificate from your certification authority

Note: The steps in this task are based on the steps required to request a certificate from a Microsoft® Windows® Certificate Authority.
  1. Browse to the organization's certificate server using Microsoft® Internet Explorer®.
  2. Click Request a certificate.
  3. Click Advanced certificate request.
  4. Click Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS#7 file.
  5. Paste the full contents of the certreq.csr file into the Saved Request field.
  6. Choose Web Server from the Certificate Template drop-down list.
  7. Click Submit.
  8. Click Download certificate.
  9. Save the file to c:\bascert.cer when prompted.
Task 4 - Download the CA Certificate from the Certificate Authority
  1. Browse to the organization's certificate server using Microsoft Internet Explorer.
  2. Click Download a CA Certificate, certificate chain, or CRL.
  3. Click Download CA Certificate.
  4. Save the file to c:\CAcert.cer when prompted.
Task 5 - Import the CA Certificate into the BlackBerry Administration Service key store
  1. In the command prompt window used in Task 2, type keytool -import -alias cacert -keystore "C:\Program Files\Research in Motion\BlackBerry Enterprise Server\BAS\bin\web.keystore" -file "C:\CAcert.cer"
  2. Enter the key store password, and then press y when asked to trust this certificate.
Task 6 - Import the BlackBerry Administration Service certificate to the BlackBerry Administration Service key store

In the command prompt window used in Task 5, type keytool -import -alias httpssl -keystore "C:\Program Files\Research in Motion\BlackBerry Enterprise Server\BAS\bin\web.keystore" -file "C:\bascert.cer"

Task 7 - Restart the BlackBerry Administration Service
Posted in Tips & Tricks
Views 2793 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

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


 

Content Relevant URLs by vBSEO 3.3.2 PL2