https and hessian

本文指导您如何在Tomcat中启用HTTPS,并通过FTP将证书文件导出至客户端系统,最后导入证书到本地keystore,以便在Hessian web服务中使用包含HTTPS的URL。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

after you enable https on tomcat, you have to export the certificate to the local java runtime. To do that you follow these steps:

1) Export the public key

keytool -export -class tomcat -file public.cert

2) Copy the file public.cert to the client system. This can be achieved in a varity of ways I used ftp.

3) import the certificate into the local keystore

keytool -import -alias tomcat -keystore ${JAVA_HOME}/jre/lib/securitycacerts -file public.cert

once this is done you can use the url that includes the https in the hessian web service.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值