Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18861

SSL certificate validation fails on university.appcelerator.com on Android

    Details

    • Story Points:
      2
    • Sprint:
      2015 Sprint 09 SDK

      Description

      The Android mobile app for Appcelerator University cannot connect to the API due to an SSL certificate validation failure. The error message suggests the server certificate is for *.cloudapp-enterprise.appcelerator.com:

      HTTP Error (javax.net.ssl.SSLException): hostname in certificate didn't match: <university.appcelerator.com> != <*.cloudapp-enterprise.appcelerator.com> OR <*.cloudapp-enterprise.appcelerator.com> OR <cloudapp-enterprise.appcelerator.com>
      

      If I do a cURL, the SSL certificate is for *.appcelerator.com:

      curl -v -s -H "Authorization: Basic VGswNHhoMjdNeGlCTEdWMHU3MlVkUlBDZzNYNHd0WmI6" https://university.appcelerator.com/api/app/config 1> /dev/null 
      * Hostname was NOT found in DNS cache
      *   Trying 54.244.121.15...
      * Connected to university.appcelerator.com (54.244.121.15) port 443 (#0)
      * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
      * Server certificate: *.appcelerator.com
      * Server certificate: Go Daddy Secure Certificate Authority - G2
      * Server certificate: Go Daddy Root Certificate Authority - G2
      > GET /api/app/config HTTP/1.1
      > User-Agent: curl/7.37.1
      > Host: university.appcelerator.com
      > Accept: */*
      > Authorization: Basic VGswNHhoMjdNeGlCTEdWMHU3MlVkUlBDZzNYNHd0WmI6
      > 
      < HTTP/1.1 200 OK
      < X-Powered-By: Appcelerator Node.ACS
      < X-Response-time: 8ms
      * Server Appcelerator Arrow/0.3.167 is not blacklisted
      < server: Appcelerator Arrow/0.3.167
      < request-id: fdea4777-3ec4-4552-a782-a66992bb724c
      < content-type: application/json
      < content-length: 129
      < date: Fri, 10 Apr 2015 16:42:11 GMT
      < connection: close
      < 
      { [data not shown]
      * Closing connection 0
      

      Here's the ACS details for the published Appcelerator University Arrow app:

      App name: AppU
       -- Created by: rblalock@appcelerator.com
       -- URL: https://0df0b36af43e31f224953e4d270bcb256b86677c.cloudapp-enterprise.appcelerator.com
       -- DOMAIN: university.appcelerator.com
       -- Created at: Sat Mar 21 2015 03:55:30 GMT+0000 (GMT)
       -- Node Version: 0.10.22
       -- Server Size: Large
       -- Maximum allowed number of servers: 5
       -- Desired minimum number of servers: 3
       -- Current number of deployed servers: 3
       -- Auto scale-up enabled: true
       -- Maximum queued requests per server: 50
       -- Auto scale-down enabled: true
       -- Active version: 1.0.11
       -- Published at: Thu Apr 09 2015 02:41:16 GMT+0100 (BST)
       -- Status: Active
       -- Servers: 
          No. 1	ID: 551c756413a34aafa5f90281	Status: Deployed
          No. 2	ID: 551c757813a34aafa5f90285	Status: Deployed
          No. 3	ID: 551c75c713a34aafa5f90295	Status: Deployed
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                cbowley Chris Bowley
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19886
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code