Java 1.4 SHA265 Issue?

落爺英雄遲暮 提交于 2019-12-13 07:36:53

问题


I'm currently supporting a legacy e-commerce application that runs on Java 1.4.

I understand that 1.4 does not support SSL certificates signed with SHA256, is this correct and will I have issues establishing connections with other sites requesting the use of this certificate?

Are there any known workarounds to solve this issue?


回答1:


That's not quite right: SHA-256 (and SHA-384, SHA-512) were introduced in 1.4.2

If there is no option to update you could use bouncycastle as your security provider. At http://www.bouncycastle.org/specifications.html#install (Section 5.0 Bouncy Castle Provider) you find information about registering it as a provider.



来源:https://stackoverflow.com/questions/30478694/java-1-4-sha265-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!