惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
L
LangChain Blog
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
MyScale Blog
MyScale Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
A
About on SuperTechFans
Stack Overflow Blog
Stack Overflow Blog
V
V2EX

博客园 - 马森

Java IO测试样例-字节流-字符流 java中的io系统详解 MongoDB资料汇总 字符编码笔记:ASCII,Unicode和UTF-8 jQuery和ExtJS的timeOut超时设置和event事件处理 Sybase字符串函数-数学函数-系统函数 inux 设置系统时间和硬件时间 Sybase采用固定表+存储过程实现分页 Wordpress XML-RPC协议说明 struts2 action 配置方法 &&struts2的配置文件 理解 SET CHAINED command not allowed within multi-statement transaction. sybase性能优化 - 马森 - 博客园 Java引用对象SoftReference WeakReference PhantomReference(二) [整理]centos下配置和安装 jstl字符串处理 [原]动态打jar包程序,可用于手机图片音乐游戏的动态打包 Java,Tomcat,Mysql乱码总结 [原]output parameters have not yet been processed源自返回了多个数据集 [转]MS SQL Server数据库事务锁机制分析
tomcat支持ssl时Keystore was tampered with, or password wa...
马森 · 2009-11-13 · via 博客园 - 马森

一直在报整个错误,密码明明没有问题,中国搜出来的资料很多都说:

确实是密码错误,删除后重新做key就可以了

刨去整个原因,还会有

Keystore was tampered with, or password was incorrect

错误的话,那可能的原因是:配置顺序的问题,即keystoreFile配置要写在Connectoer里面

而keystorePass则应该写到Factory中!否则就会一直报错。

原文描述如下:

The Error “java.io.IoException: keystore was tampered with, or password was incorrect”. This error occurs during installation. It is because the password should be in the factory className, not in the Connector className.

Please insure your Connector is in the following format:

  • <!-- Define an SSL HTTP/1.1 Connector on port 443 -->
  • <Connector className="org.apache.catalina.connector.http.HttpConnector"
  • port="443" minProcessors="5" maxProcessors="75"
  • keystoreFile="path.to.keystore"
  • enableLookups="true"
  • acceptCount="10" debug="0" scheme="https" secure="true">
  • <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
  • clientAuth="false" protocol="TLS" keystorePass="keystore.password"/>
  • </Connector>

注释原文地址:http://www.globalsign.com/support/faq/tomcat/01.php