Connecting to Unwired Server Using HTTPS from BlackBerry Device Applications

Connect to Unwired Server from BlackBerry device applications using HTTPS.

These are the high-level steps for connecting to Unwired Server from BlackBerry clients. For detailed information, see System Administration for Sybase Unwired Platform > Security Administration > Security Layers > Transport Security Setup > Encrypting Replication-Based Synchronization Connections.
  1. Follow the procedure in System Administration for Sybase Unwired Platform > Security Administration > Security Layers > Transport Security Setup > Encrypting Relay Server Connections > Generating a Certificate Request to generate three certificates—public, private, and identity keys.
  2. Copy the three certificate files to: <UnwiredPlatform_InstallDir>\Servers\SQLAnywhere11\BIN32.
  3. Follow the procedures in System Administration for Sybase Unwired Platform > Security Administration > Security Layers > Transport Security Setup > Encrypting Replication-Based Synchronization Connections.
  4. Deploy the mobile business object to Unwired Server.
  5. Copy the public certificate file to the device folder, for example, C:\Program Files\Research In Motion\BlackBerry JDE <os-version>\simulator.
  6. Generate the device application code and start the device application.
  7. Access the Profile settings screen and in Stream Params, enter the certificate information and the stream type, for example:
    tls_type=rsa;trusted_certificates=C:/Program Files/Research In Motion/BlackBerry JDE <os-version>/simulator/rsa_public_cert.crt;certificate_company=Sybase;certificate_unit=ITS;certificate_name=UEP,MobiLinkStreamType = HTTPS
  8. Check Secure.

    The port number for HTTPS is selected automatically if Unwired Server is running HTTPS.