Titanium JIRA Archive
Appcelerator Community (AC)

[AC-78] SSL error upgrading Appcelerator Studio 4.0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-11-10T05:57:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsstudio
ReporterDirlei Dionísio
AssigneeMostafizur Rahman
Created2015-04-13T22:22:35.000+0000
Updated2015-11-10T05:57:04.000+0000

Description

I tried to follow these steps received by email from Nathan Williams: 1. Install the Appcelerator CLI using the following command: sudo npm install appcelerator –g 2. Install the Appcelerator software using the following command: appc use latest 3. Install the Appcelerator Studio from the following URL: https://web.appcelerator.com/product/studio At step 2, I received this message on console: Dirleis-MBP-retina:~ dirlei$ appc use latest -Error fetching Appcelerator SSL fingerprints. Error: Error fetching SSL certificates. RequestSSLError: SSL authorization failed. URL to 4503ef0cc4daae71d3bb898f66c72b886c9f6d61.cloudapp-enterprise.appcelerator.com is not authorized for SSL. Mismatched SSL fingerprint. This likely means that the URL doesn't point to the expected server or there is an unexpected man-in-the-middle. Before you can continue, the latest Appcelerator software update needs to be downloaded. Finding latest version ...| Server responded with unexpected error: SSL authorization failed. URL: appc-registry-server-distribution.s3.amazonaws.com does not have a valid fingerprint which can be used to verify the SSL certificate.. Please re-try your install again. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com. Then I followed step 3, but after informing my credentials, Studio entered in loop requiring my credentials again and again.

Attachments

FileDateSize
Screen Shot 2015-04-13 at 19.15.29.png2015-04-13T22:22:35.000+000049095

Comments

  1. Eric Merriman 2015-05-14

    [~dirleidionisio] We have made many fixes and other updates in this area. Would you mind updating and trying again to see if you are still having trouble? Our latest versions are: Appcelerator Studio: 4.0.0.201505120319 Appcelerator CLI npm version: 0.3.55 Appcelerator CLI core version: 0.2.283 To check Studio version: Choose "Appcelerator Studio -> About Appcelerator Studio" from the menu To check Appcelerator CLI NPM version: in terminal:
    npm list -g appcelerator --depth 0
    To install latest NPM version: in terminal
    sudo npm install -g appcelerator
    To check Appcelerator core version: in terminal
    appc --version
    To install the latest: in terminal
    appc use latest
    If you still experience problems you could try removing the hidden ~/.appcelerator folder. This will require a new code generated for your system via email or SMS (whatever you have set for communication preference). If you don't want to go through installation of the Appcelerator CLI and the generation of a new HW authorization code, then you could simply remove the files with ".pk", ".pem", and ".auth" file extensions at the root level of the hidden ~/.appcelerator folder.
  2. Rakhi Mitro 2015-09-14

    Hello, Tested this issue. This is not a bug in latest Appcelerator version. Not sure if this is still an issue for you. It doesn't appear to be based on our latest tests. Please follow the steps below and let us know. 1.Check if Java JDK is installed: *Java --version*(if not installed, you can download it from [here ](http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html) ). 2. Ensure that you have Node.JS installed: *node --version* (if not installed then you can download it from [here| https://web.appcelerator.com/product/cli]) 3. Install the Appcelerator CLI: *npm install appcelerator -g* 4. appc setup Login to Appcelerator Studio from terminal using below command and then open your Studio: appc login *If the problem still persist then:* *Uninstall SDK:* appc ti sdk uninstall (SDK version) *Install SDK:* appc ti sdk install latest or appc use latest Thanks

JSON Source