---
title: "java 签名 缺少时间戳"
author: "chensl"
date: "2015-01-09T19:52:52Z"
tags: []
categories: ["移动开发"]
slug: "java"
draft: false
lastmod: "2015-01-09T19:52:52Z"
id: 2174529
url: "https://chensl.iteye.com/blog/2174529"
---

使用签名提示下面错误

No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (xxxx-xx-xx) or after any future revocation date

查来查去，看网上意思是说需要jdk 1.6 的32位版本，版本是64位或者比这高了就可能会出现上面的问题

 

解决办法：

网上建议使用java6

如果不降低版本的话，可以在  签名时加入下面的参数

```
-tsa http://timestamp.digicert.com
```