的是Android debug.keystore文件有效期30年 [英] Is android debug.keystore file valid for 30 years

查看:772
本文介绍了的是Android debug.keystore文件有效期30年的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来android.Now我试图理解签名apk文件。我创建了一个应用程序,并与自签名证书(私人密钥存储文件)签署完毕,一切正常。虽然我想知道更多关于 debug.keystore 后,我试图在IDE文摘APK导出时与debug.keystore的apk文件签名。在最后一步我观察到的证书上周五09月19日15时02分42秒北京时间2042到期。
但该文件的 2012年9月26日创建即可。当goggling观察到的我debug.keystore 365天过期。但我的debug.keystore显示30 years.Is可能。我很困惑。
任何一个可以帮助我,请清楚我的疑问。

I am new to android.Now i am trying to understanding signing apk file. I created one app and signed with self signed certificate(with private keystore file) and every thing is fine. While i am trying to know more about debug.keystore ,i tried to sign apk with debug.keystore file when exporting apk in Eclips IDE. at the last step i observed that Certificate expires on Fri Sep 19 15:02:42 IST 2042. . But the file created on 26th Sep 2012. When i goggling observed that debug.keystore expired in 365 days. But my debug.keystore showing 30 years.Is it possible. I am confused. Can any one help me ,please clear my doubt.

先谢谢了。

推荐答案

有证书到期没有predetermined限制。诚然,大多数认证的认证机构颁发的只有效期为1年(365天),但它并不一定是这样。大多数认证机构拥有的有效期为25年以上自己的CA证书截止日期。

There is no predetermined limit for expiration of certificates. Granted, most certificated issued by certification authorities are only valid for 1 year (365 days), but it does not have to be the case. Most certification authorities have expiration dates for their own CA certificates that are valid for 25 and more years.

如果您使用的是自签名证书(可使用密钥工具或OpenSSL的创建),您可以指定pretty多的过期时间。如果我们谈论的Andr​​oid debug.keystore,它最有可能具有一定的自签名的证书,可能会默认至1年期限。

If you are using self-signed certificate (which can be created using keytool or openssl), you can specify pretty much any expiration time. If we are talking about android debug.keystore, it most likely has some self-signed certificates which may default to 1 year expiration.

什么你已经看到了(2042到期)是最有可能的Andr​​oid测试CA证书。

What you have seen (expiration in 2042) was most likely Android Test CA certificate.

这篇关于的是Android debug.keystore文件有效期30年的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆