The cipher 'aes256-cbc' is required, but it is not available

前端 未结 3 1911
北海茫月
北海茫月 2020-11-27 16:12

I am trying to do an SFTP using JSch, but I encountered some error:

com.jcraft.jsch.JSchException: The cipher \'aes256-cbc\' is required, but it is no

3条回答
  •  星月不相逢
    2020-11-27 16:40

    You need to add to Your JRE - java unlimited strength policy, eg.: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html Please replace local_policy and us_export_policy on the server's JRE path (\lib\security) Other version of JCE policies can be found on oracle web pages.

提交回复
热议问题