- 博客(2)
- 收藏
- 关注
原创 Spring事务控制controller层没有生效
在applicationContext.xml中配置中配置一下内容applicationContext.xml<!--配置事务增强,事务如何切入--> <tx:advice id="txAdvice"> <tx:attributes> <!--所有方法都是事务方法--> <tx:method name="*"/> <!--以get开始的所有方法
2020-11-19 21:46:54 1472
原创 客户端访问使用ip的https私有证书报错
报错信息javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative namesURL hostname does not match the Common Name (CN)问题原因使用ip制作证书时,校验失败,不会去校验ip只校验域名,想要能够校验ip需要在扩展属性中增加ip。解决办法1.过代码实现信任所有。2.制作可以使用ip的证书。
2020-07-08 19:41:28 1713
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人