使用Spring RestTemplate,Maven和HTTPS进行集成测试

编程入门 行业动态 更新时间:2024-10-26 02:28:59
使用Spring RestTemplate,Maven和HTTPS进行集成测试 - 客户端连接?(Integration testing with Spring RestTemplate, Maven and HTTPS — Client connection?)

我在Matt Riable看到这篇文章 ,展示了如何使用HTTP,HTTPS和Maven设置集成测试。 我发现它非常有趣。 我的项目使用keytool-maven-plugin生成密钥库。 但这不允许我生成一个信任存储......

我想我错过了什么?

I saw this post from Matt Riable which shows how to set up Integration Testing with HTTP, HTTPS and Maven. I found it very interesting. I have got my project generating the keystore using the keytool-maven-plugin. But this doesn't allow me generate a trust store...

I guess I am missing something here?

最满意答案

这个SO讨论可能是相关的。 keystore文件本身可以充当truststore keystore ,除非需要区分它们。

This SO discussion may be related. keystore file itself can serve as truststore unless there is a need to distinguish between them.

更多推荐

本文发布于:2023-07-24 01:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1240082.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试   RestTemplate   Spring   HTTPS   Maven

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!