SFTP Adapter Fails With 'The PuTTY key could not be read! aes256-cbc is not supported' (Doc ID 1561528.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.2 to R6.2 [Release 6.0]
Information in this document applies to any platform.

Symptoms

The following exception is raised when the connect method is called for the Batch SFTP Adapter.

[#|2013-04-24T13:34:24.091+0200|SEVERE|sun-appserver2.1|prj_Bef.svcRMSftpPortalIn.jcdRMSftpPortalIn_Runtime_Handler|_ThreadID=146;_ThreadName=JMS Async S1790285;Context=Kages | prj_Bef/svcRMSftpPortalIn/queBefLookupIN;_RequestID=fc771cae-4524-4193-85a5-99fe06a761e2;|com.stc.codegen.framework.runtime.RequestException: Batch SFTP eWay connection failed, method=[connect()], message=[BATCH-MSG-M0758: Exception when connect to remote, exception=BATCH-MSG-M0757: Exception when connect(), exception=The PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class java.io.IOExceptionThe PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class com.stc.connector.ssh.ftp.client.exception.SFTPException].
com.stc.codegen.framework.runtime.RequestException: Batch SFTP eWay connection failed, method=[connect()], message=[BATCH-MSG-M0758: Exception when connect to remote, exception=BATCH-MSG-M0757: Exception when connect(), exception=The PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class java.io.IOExceptionThe PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class com.stc.connector.ssh.ftp.client.exception.SFTPException].
at prj_Bef.svcRMSftpPortalIn.jcdRMSftpPortalIn_Runtime_Handler.handleRequest(prj_Bef.svcRMSftpPortalIn.jcdRMSftpPortalIn_Runtime_Handler:414)
at sun.reflect.GeneratedMethodAccessor2761.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2928)
...
Caused by: com.stc.connector.ssh.ftp.client.exception.SFTPException: Batch SFTP eWay connection failed, method=[connect()], message=[BATCH-MSG-M0758: Exception when connect to remote, exception=BATCH-MSG-M0757: Exception when connect(), exception=The PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class java.io.IOExceptionThe PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class com.stc.connector.ssh.ftp.client.exception.SFTPException].
at com.stc.connector.ssh.ftp.client.impl.SFTPClientImpl.sendAlertAndThrowException(SFTPClientImpl.java:941)
at com.stc.connector.ssh.ftp.client.impl.SFTPClientImpl.connect(SFTPClientImpl.java:267)
at Kages_KonfigprjRueckmeld.jcdRMSftpPortalIn.receive(Kages_KonfigprjRueckmeld.jcdRMSftpPortalIn:93)
at prj_Bef.svcRMSftpPortalIn.jcdRMSftpPortalIn_Runtime_Handler.handleRequest(prj_Bef.svcRMSftpPortalIn.jcdRMSftpPortalIn_Runtime_Handler:393)
... 34 more
Caused by: com.stc.connector.ssh.ftp.client.exception.SFTPException: BATCH-MSG-M0757: Exception when connect(), exception=The PuTTY key could not be read! aes256-cbc is not supported [Unknown cause], exceptionClass=class java.io.IOException
at com.stc.connector.ssh.ftp.client.impl.SFTPClientImpl.connect(SFTPClientImpl.java:264)
... 36 more
Caused by: java.io.IOException: The PuTTY key could not be read! aes256-cbc is not supported [Unknown cause]
at com.sshtools.publickey.g.toKeyPair(Unknown Source)
at com.stc.connector.ssh.SSHProvider.doPublicKeyAuth(SSHProvider.java:330)
at com.stc.connector.ssh.SSHProvider.connectWithAuthentication(SSHProvider.java:284)
at com.stc.connector.ssh.ftp.client.impl.SFTPClientImpl.connect(SFTPClientImpl.java:260)
... 36 more
|#]

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms