Skip to main content
Inspiring
January 22, 2017
Question

Java 8.0_121 and 1024-RSA certificate

  • January 22, 2017
  • 5 replies
  • 3076 views

Hello,

I update java to 8.0_121 on Windows, and I have this messge error on ADT

unable to load a certificate in this file

when I use a 1024-RSA certificate (I don't have this message error with a 2048-RSA certificate)

Thanks.

This topic has been closed for replies.

5 replies

Participating Frequently
November 6, 2020

I encountered the same issue - see my fix for it in this thread.

Known Participant
June 20, 2017

Unfortunately Animate doesn't allow to create RSA-1024 anymore, the selector combo is grayed out and pre-selected with RSA-2048 certificate, what procedure did you use to create a new RSA-1024 certificate?, it could be useful here to know different procedures to create certificates. Although, the big issue is that if you are updating an existing Android App, a new RSA-1024 certificate doesn't solve anything because that update must be packaged with exactly the same old certificate used to publish the first time.

Participant
June 20, 2017

Hi,

I got the same issue.

But I try to create a new RSA-1024 certificate(p12) it will run in normally.

So I guess the file format of certificate has been change?

Maybe some content had been removed in the new certificate

Known Participant
April 5, 2017

Up to Java 1.8.0_74 works fine with RSA-1024 certificates, after upgrade to any higher version, don't work and the described error is shown packaging apps.

The only workaround for now is to downgrade Java.

Adobe, is there a way to Convert RSA-1024 P12 certificates to RSA-2048? because Google demands exactly the same certificate, can't be changed without create a new app in the store.

Known Participant
February 27, 2017

Hello

Can you explain me how to do this? I have the same error.

Thank you

pol2095Author
Inspiring
March 6, 2017

For Android apps, it's not possible to change the certificates.

Workaround in Windows : change the Java path in the Windows Environment Variables > Path to an older Java version.

Inspiring
April 4, 2017

How do you change the path for mac?