http://stackoverflow.com/questions/4275005/jnlp-applet-bouncy-castle

——————————————————————————————————————————————————

Ok, so here is the answer:

First of all, as Bloodboiler suggested, you are in trouble if your applet uses jars signed by different certificates. So your solution should be to sign them all with the same certificate.

You do have some possibilities here:

one is to extract all your project's jars and then combine them into a single jar and sign it. This doesn't work with Spring-context and BouncyCastle for some reason. I am sure if I had the nerve to fiddle with it, it would have worked.

another way is, like M.Joanis suggested, to use FatJar, but it also did not work for some reason. As for the method described above, I did not have the desire or inclination to spend too much time on it.

the third way, the one that WORKED, is to just verify the jars' in your dist directory's certificates. If they differ, you, as Bloodboiler suggested, are in trouble. The solution is to unsign the jars (extract, delete META-INF ) and then sign them ALL with the SAME certificate ( make jar your preferred way, then sign it your preferred way and make sure all the jars you use are signed by you (using jarsigner -verify -cert, etc...)). Then this whole mess should work.

——————————————————————————————————————————————————————

经测试,第3种方式可行。

最新文章

  1. mongoose 和 mongoDB
  2. Media Queries 详解
  3. C++二级指针第三种内存模型
  4. Java for LeetCode 023 Merge k Sorted Lists
  5. UML类图与类的关系详解
  6. 常见的css3缩放效果
  7. Tomcat详解
  8. C语言中为什么不能把char**赋给const char**
  9. Centos下wget下载整个网站,或者目录全部文件
  10. POJ1468 Sorting Slides
  11. 20155230 2016-2017-2 《Java程序设计》第九周学习总结
  12. [转]mysql中的字符串的拼接
  13. HTML5-Canvas 初认识
  14. 使用Spring Boot操作Hive JDBC时,启动时报出错误:NoSuchMethodError: org.eclipse.jetty.servlet.ServletMapping.setDef
  15. SQL Server上DBLINK的创建,其实很简单!(上)
  16. Delphi IdTCPClient IdTCPServer 点对点传送文件
  17. Oracle安装部署之RAC安装环境配置脚本
  18. VUE项目 - IE报vuex requires a Promise polyfill in this browser问题解决
  19. supervisord的配置
  20. iis常见问题解决

热门文章

  1. pl/sql programming 02 创建并运行plsql代码
  2. Android在OnCreate中获取控件的宽度和高度
  3. how to check unsolved conflicts file list in git merge?
  4. js之dom_2
  5. 博客已搬家至 hate13.com
  6. LeetCode Reverse Nodes in k-Group 每k个节点为一组,反置链表
  7. 计算机网络——TCP/IP协议族详解
  8. Amarino例程无法使用的问题
  9. ASP.NET MVC之文件上传【一】
  10. hdu 5510 Bazinga (kmp+dfs剪枝) 2015ACM/ICPC亚洲区沈阳站-重现赛(感谢东北大学)