Errors creating and importing build certificates and keystores.

Errors creating and importing build certificates and keystores.

As of June 2, 2017 the ability to create and import Android keystores and iOS signing certificates have been disabled; however, the ability to convert "legacy" certificates and download existing certificates will continue to work.

If you have published an app in the Google Play store, you are advised to download the Android keystore(s) that you have been using to build your Android apps. Android APK files are "self-signed," meaning Google neither generates nor owns the certificate that you use to sign your app, you own them. Once an APK has been published, Google requires that all updates to your app be signed with the same certificate. This insures that the developer who updates an APK is the same developer who created the original version of that APK. If you do not sign using the original keystore you cannot update your Android APK in the Google store! (Non-Google Android stores may have different policies regarding the signing of Android apps.)

This is not the case for iOS apps. In that case Apple issues you the certificate that you use to sign your apps, via your developer account. Thus, if you lose an iOS build certificate you can simply generate a new set, using the same developer account, and then use the new certificates to sign updates to your already published apps. In most cases, it is easier to generate a new set of iOS certificates than to download any certificates you may have stored in your Intel XDK account.

DO NOT LOSE YOUR DOWNLOADED ANDROID KEYSTORE OR FORGET THE PASSWORD ASSOCIATED WITH THAT KEYSTORE!! Intel does not retain copies of any keystores that you delete from your account. Likewise, Intel does not keep a copy of your keystore password, thus we have no means to recover a keystore or its password, if you delete it from your account.

Disabling the creation and importation of keystores and certificates means that new Intel XDK users will not be able to use the Intel XDK build system; it will only be accessible to those XDK developers who have an existing account that already contains usable build credentials (certificates and keystores). Downloading a certificate will not remove your build credentials from your account, but if you delete a credential from the certificate management tool it cannot be imported back into the tool.

If you download and delete a keystore and then lose that keystore we CANNOT retrieve it for you!! If you do not see the certificate you need in your view of the certificate management tool it means we DO NOT have that certificate!! Likewise, if you add a certificate into the PhoneGap Build certificate management tool you CANNOT download it from their tool.

Attempting to create or import a credential will result in error messages similar to the following:

Error creating certificate: "An error occurred while creating your certificate."

Error importing certificate: "An error occurred while importing your certificate."

The note about ensuring your alias and passphrase match is misleading. The reason you are seeing this error is because the import service on the backend has been disabled.

Error creating Certificate Signing Request: "An error occurred while creating your Certificate Signing Request."

Error import P12: "An error occurred while importing your P12 file."

 

31 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

That amazing ! And I was finding few hours why I can't create new Keystore....... and now this thanks Intel

error creating certificate !!!!(((

No more intel xdk. uninstall 

 

I'm a new user , how can i create a new keystore

Quote:

ALAA Z. wrote:

I'm a new user , how can i create a new keystore

The creation and import of keystores has been retired in the XDK. Only existing users with existing keystores can build with the XDK. The build system is scheduled to be retired at the end of June. Please see the release notes for additional information > https://software.intel.com/en-us/xdk/docs/release-notes-information-inte... <

xdk. uninstall 

so how to check the old my keystore  ??  for forgetting key ?? plis fast respon?

Quote:

frendy k. wrote:

so how to check the old my keystore  ??  for forgetting key ?? plis fast respon?

We looked up your account (under the email address you are using for the forum) and we do not see any keystores in that account. Is it possible you have another account for the XDK? Please respond to the email we sent to provide those details.

Very disappointed, this tool helped me a lot.

Where I can find mykey.key?

Quote:

André V. wrote:

Where I can find mykey.key?

If you have a pre-existing key you can download it directly from within the Intel XDK. Since you can no longer create new keys, this only applies if you have a key that was generated before this feature was retired.

If you need to create a keystore for use with Cordova CLI or PhoneGap Build, see this > http://docs.phonegap.com/phonegap-build/signing/android/#generating-a-pr... < and about halfway down this article > https://software.intel.com/en-us/xdk/docs/build-xdk-app-with-phonegap-co... < are instructions showing how to download an existing keystore from your Intel XDK account (assuming you have a certificate already present in your account).

Also, please see the release notes for additional help > https://software.intel.com/en-us/xdk/docs/release-notes-information-inte... <

 

Dear Intel team, after a few months of hard work with XDK I wanted to convert my project to Cordova in order to compile it with CLI. 

I created a keystore manually and wanted to Import it to XDK - error message!!!

For export it should be possible to do it without your server!?!!

Is my work from few months now in waste basket!?!!!

Please help!!! I am desperate. 

I can't find solution for an error occurred while creating your certificate

 

Sorry for my last comment - after restart of my Mac there is no necessity anymore to have a keystore. I exported the project.

Now I will try to compile it with Cordova...

The next problem: when I build it with Cordova it failed with exception.

org/crosswalk/engine/XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine

public class XWalkWebViewEngine implements CordovaWebViewEngine {

       ^

Note: /Users/struhar/Documents/struhar/Development_tools/Demo_NTC_App1/Demo_NTC_App/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

1 error

 

FAILURE: Build failed with an exception.

 

Quote:

jayesh g. wrote:

I can't find solution for an error occurred while creating your certificate

please read this forum thread > https://software.intel.com/en-us/forums/intel-xdk/topic/735617 <

Quote:

Milan S. wrote:

The next problem: when I build it with Cordova it failed with exception.

org/crosswalk/engine/XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback<String>) in CordovaWebViewEngine

public class XWalkWebViewEngine implements CordovaWebViewEngine {

       ^

Note: /Users/struhar/Documents/struhar/Development_tools/Demo_NTC_App1/Demo_NTC_App/platforms/android/src/org/crosswalk/engine/XWalkCordovaResourceClient.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

1 error

 

FAILURE: Build failed with an exception.

 

Please start a new thread for your build issues.

Hi. I need to compile and sign my app manually now that XDK retired the build server.

I can compile alright, and it installs and runs normally. But Im failing to sign it.

Ive downloaded my certificate from XDK, a .keystore file. Now Im trying to sign it using the following command:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore cadernomagicov1.keystore /var/www/html/cadernomagico/app/mobile/local/caderno-app/platforms/android/build/outputs/apk/android-armv7-release-unsigned.apk cadernomagicov1

I enter the password, seems right, the signing begins.. and then it fails with this message, after "adding: META-INF/MANIFEST.MF":

jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm

Seems like the algorithm is not right. What would be the right one to use? 

edit: nevermind, it works if I remove the -sigalg SHA1withRSA -digestalg SHA1

Please help

 

Hi, I am trying to create a "keystore" to test my html5 website in android or ios phone, but i am getting error from 2-3 days i am unable to build my app. Please help meError while creating the keystoreError while creating the keystore

Hi all, I am trying to create a build to test my html5 website (Dummy) in android and ios phone, for that i need to create a "keystore", when i am trying to create , i am getting error from 2-3 days. please help me.

Attachments: 

AttachmentSize
Downloadimage/png 1.png155.7 KB
Downloadimage/png 2.png157.38 KB

Quote:

Shantanu S. wrote:

Hi all, I am trying to create a build to test my html5 website (Dummy) in android and ios phone, for that i need to create a "keystore", when i am trying to create , i am getting error from 2-3 days. please help me.

Please see this forum thread > Errors creating and importing build certificates and keystores. <

I'm a new user , how can i create a new keystore ???

Quote:

rafael p. wrote:

I'm a new user , how can i create a new keystore ???

Creating and importing keystores has been retired. Please see the release notes for details > https://software.intel.com/en-us/xdk/docs/release-notes-information-inte... < and locate the section titled "Alternatives to the Retired Intel Certificate Management Tool" for alternatives.

Hi Team,

   i can't create a apk build certificate .please help.what issue i can't find please anyone help me.

hello,

when importing existing keystore,error as ensuring your alias and passphrase match is misleading. from google - The reason you are seeing this error is because the import service on the backend has been disabled. Please can you help me out - how to enabled import service from backend, which link - after login - where it can be found and steps. Please help. I am trying for last 7 days. and did not get any solutions.

this is my 3 years account.

91 7044250070

mahboob.raushan@yahoo.co.in

 

Quote:

Mahboob R. wrote:

...Please can you help me out - how to enabled import service from backend, which link - after login - where it can be found and steps. Please help. I am trying for last 7 days. and did not get any solutions.

There is no need to import a keystore, because our build system has been retired for almost a year.

Are you trying to export (retrieve) an old keystore that was stored in your account and that you used to sign an application in the Google store?

Hi Paul! It has been a very long time we last talked. (even in the old forum I think )
I noticed that the XDK has been depreciated. However I need to update an Android App soon and now I do not have the certificate.

I Tried to download it using the Intel XSK account settings->Developer certificates but it shows empty. No files there.
The app name is BeNewApp other project name is:Glasned can you help me out?!

 

 

Hello Arnold -- unfortunately, we no longer have a copy of any build certificates stored in the XDK backend. There is a notice on the XDK web site (https://software.intel.com/en-us/xdk) regarding this action (also shown below):

ATTENTION: As stated on our July 10, 2017 blog, Intel closed the Intel XDK Build Service. On Tuesday, January 30, 2018, all remaining Intel XDK Cloud Services will be retired. You will have until Monday, January 29, 2018, to retrieve any Android* keystore files stored in your Intel XDK account. After that date, Intel will purge all data from the Intel XDK Cloud Services and you will no longer be able to retrieve your Android keystore files. See the “Android Signing Certificates” section in Build Your Intel XDK Mobile App Using the PhoneGap Build for additional help.

If you do not have a copy of the certificate you used to sign your app for the Google Store you'll have to create a new certificate and submit your app with a new package ID, meaning your updated app will appear to be a new app in the store.

If you do have the old certificate, but want to update to a more secure certificate, see this article > https://guardianproject.info/2015/12/29/how-to-migrate-your-android-apps... <

NOTE: Google has added a new method for managing Android signing keys that accommodates recovering a lost key. Unfortunately, this will not help you with the keys you used to sign apps you built with the XDK build service, because those were "self-signing" keys. However, going forward, you may want to investigate this alternate signing method.

More information on signing keys is available from Google here > https://developer.android.com/studio/publish/app-signing.html#manage-key <

Quote:

Paul F. (Intel) wrote:

Hello Arnold -- unfortunately, we no longer have a copy of any build certificates stored in the XDK backend. There is a notice on the XDK web site (https://software.intel.com/en-us/xdk) regarding this action (also shown below):

Thanks for your answer Paul. It seems I am just to late. I best run for cover when we inform our 2 clients.
p.s. Paul it's nice to see you still "around and kicking" at Intel. Thanks for the support in the past. Do take care!

Quote:

Wittenberg, Arnold wrote:

Quote:

p.s. Paul it's nice to see you still "around and kicking" at Intel. Thanks for the support in the past. Do take care!

Still alive, still kickin'! Sorry for that bad news regarding the certificates. Best of luck to you. :-)

Leave a Comment

Please sign in to add a comment. Not a member? Join today