Posted
almost 11 years
ago
In reply to OFTP2 - Multiple Local Stations
beckenrod,
That depends. The session partner is the gateway (beckenrodGateway), the transmission partner is the final partner (vLocal1). Means file encryption/signature: give vLocal1s certs, session security (SSL): give beckenrodGateways certs.
Regards
Log in or register to post comments
|
Posted
almost 11 years
ago
In reply to OFTP - SSL Handshake Failure
beckenrod,
there is a file included in the download with the same information, called "readme.txt".
Regards
Log in or register to post comments
|
Posted
almost 11 years
ago
In reply to OFTP - Send to Partner Error
beckenrod,
your partner sent a OFTP1 command - this is a protocol violation.
Please have a look at RFC 5024, this defines the ESID command for OFTP2:
5.3.11. ESID - End Session
... [More]
o-------------------------------------------------------------------o
| ESID End Session |
| |
| End Session Phase Speaker ----> Listener |
|-------------------------------------------------------------------|
| Pos | Field | Description | Format |
|-----+-----------+---------------------------------------+---------|
| 0 | ESIDCMD | ESID Command, 'F' | F X(1) |
| 1 | ESIDREAS | Reason Code | F 9(2) |
| 3 | ESIDREASL | Reason Text Length | V 9(3) |
| 6 | ESIDREAST | Reason Text | V T(n) |
| | ESIDCR | Carriage Return | F X(1) |
o-------------------------------------------------------------------o
In OFTP1 the ESID command looks like the following (RFC 2204):
5.3.11 ESID - End Session
o-------------------------------------------------------------------o
| ESID End Session |
| |
| End Session Phase Speaker ----> Listener |
|-------------------------------------------------------------------|
| Pos | Field | Description | Format |
|-----+-----------+---------------------------------------+---------|
| 0 | ESIDCMD | ESID Command, 'F' | F X(1) |
| 1 | ESIDREAS | Reason Code | F 9(2) |
| 3 | ESIDCR | Carriage Return | F X(1) |
o-------------------------------------------------------------------o
--> this is what you received, these 3 bytes.
Regards
Log in or register to post comments
[Less]
|
Posted
almost 11 years
ago
Hello.
I am trying to send data to a partner and I am receiving an error. The setup does use SSL and a password for the connection. No encryption or signing is being used though.
When trying to send data to the partner, we receive the following
... [More]
error in the console:
Quote:
A processing problem occured. This could have several reasons, for further information please have a look at "C:\mendelson\oftp2\log\20140808\systemactivity.log".
java.lang.RuntimeException: Unable to parse OFTP2 command "ESID": the received command data is to short. Is your partner using a OFTP 1.x system? (Hexdump: 46 30 34)
I have lots of logging turned on, so I can provide more information, if needed.
Thank you for any help you can provide.
Forum: OFTP2 [Less]
|
Posted
almost 11 years
ago
In reply to OFTP - SSL Handshake Failure
OK, I was able to figure this out. When I read the Wiki page, it said you had to stop and re-start the software to get it to recognize SSL keystore changes. After stopping and starting both sides, we're
... [More]
good :)
Wiki page is here (for reference for others):
http://sourceforge.net/p/mendelson-oftp2/wiki/Overview/
Thanks!
Log in or register to post comments
[Less]
|
Posted
almost 11 years
ago
In reply to OFTP - SSL Handshake Failure
OK, I was able to figure this out. When I read the Wiki page, it said you had to stop and re-start the software to get it to recognize SSL keystore changes. After stopping and starting both sides, we're
... [More]
good :)
Wiki page is here (for reference for others):
http://sourceforge.net/p/mendelson-oftp2/wiki/Overview/
Thanks!
Log in or register to post comments
[Less]
|
Posted
almost 11 years
ago
I have 2 installs of the Opensource OFTP software installed to test.
When I try and exchange files between 2 partners without SSL, everything works properly.
When I try and use SSL, I am not able to send a file from either partner to the other
... [More]
partner.
The error I get in the console is just:
A processing problem occured. This could have several reasons, for further information please have a look at "C:\mendelson\oftp2\log\20140808\systemactivity.log".
SSL handshake failed.
I exported the certificate for each partner and installed them on the other side of the setup in both the certificate store and the SSL store.
I turned on the SSL debugging based on other discussions here and this is what is in my systemactivity.log file:
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:487)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:710)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:664)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:653)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:67)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1124)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
at sun.security.ssl.Handshaker.checkThrown(Unknown Source)
at sun.security.ssl.SSLEngineImpl.checkTaskThrown(Unknown Source)
at sun.security.ssl.SSLEngineImpl.writeAppRecord(Unknown Source)
at sun.security.ssl.SSLEngineImpl.wrap(Unknown Source)
at javax.net.ssl.SSLEngine.wrap(Unknown Source)
at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:578)
at org.apache.mina.filter.ssl.SslHandler.messageReceived(SslHandler.java:351)
at org.apache.mina.filter.ssl.SslFilter.messageReceived(SslFilter.java:468)
... 15 more
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLEngineImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker$1.run(Unknown Source)
at sun.security.ssl.Handshaker$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Unknown Source)
at org.apache.mina.filter.ssl.SslHandler.doTasks(SslHandler.java:759)
at org.apache.mina.filter.ssl.SslHandler.handshake(SslHandler.java:544)
... 17 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
... 26 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 32 more
Any help you can provide would be awesome.
Thanks!
Forum: OFTP2 [Less]
|
Posted
almost 11 years
ago
In reply to MDN state is [processed/error: authentication-failed]
Hi,
After struggling a lot .. at last solved the issue.
Regards
Pradeep
Log in or register to post comments
|
Posted
almost 11 years
ago
In reply to MDN state is [processed/error: authentication-failed]
Hi,
Please help me how to use the SSL certificate in Jetty keystore for sign & encryption.
Please reply..
Regards
Pradeep
Log in or register to post comments
|
Posted
almost 11 years
ago
In reply to MDN state is [processed/error: authentication-failed]
Hi please someone help me..
Regards
Pradeep
Log in or register to post comments
|