当前位置:编程学习 > JAVA >>

用keytool配置tomcat ssl双向认证问题

http://hi.baidu.com/wxyhaiy/blog/item/eff9b6b1d271ed5e092302f7.html

我按这个网上的方法配置了一边,localhost可以,但,把localhost改为域名(如www.abc.com)就不行了,
也就是只改了第一步:
改成了:
C:\>keytool -genkey -v -alias tomcat -keyalg RSA -keystore e:\tomcat.keystore -d
name "CN=www.abc.com,OU=cn,O=cn,L=cn,ST=cn,C=cn" -storepass password -keypass pa
ssword
--------------------编程问答-------------------- 怎么没人回答啊? --------------------编程问答-------------------- www.abc.com这域名到底有没有啊,没有当然不行了。 --------------------编程问答-------------------- 应该启动www.abc.com这域名的服务器才可以,
你的tomcat访问路径是localhost 那么你只能配localhost
客户那头是www.abc.com 启动客户的tomcat就没问题了
补充:Java ,  Web 开发
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,