Posted
almost 12 years
ago
In reply to The definitive guide to setup on Windows
I can browse to http://localhost/as2/HttpReceiver and get the indicated message.
But if I browse to:
http://localhost/as2/start
I get NOT_FOUND
Any help greatly appreciated.
Log in or register to post comments
|
Posted
almost 12 years
ago
Hi All,
I'm having real issues and I can't get past this one ...
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outgoing message signed with the algorithm SHA-1,using keystore alias
... [More]
"Supplier882003PortecleKeyPair".
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outgoing message encrypted with the algorithm 3DES, using keystore alias "Key2".
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outbound AS2 message created from "MSG882003.xml" for the receiver "mendelsontest" in 875ms, raw message size: 4.65 KB
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: The file "MSG882003.xml" has been deleted and enqueued into the processing message queue of the server.
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: MessageHTTPUploader.performUpload: [IOException]: Invalid keystore format
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Connection problem, failed to transmit data.
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Will retry to send transmission after 30s, retry 1/10.
If I'm reading this right, AS2 has picked up the message, signed it using the senders Private Key (mycompany = Supplier882003), and encrypted it using the receiver's public Key and has enqueued it to be sent over HTTP.
Have I got that right so far? If so, my certificates.p12 key store is all in good order?
So what keystore does the error message refer too?
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: MessageHTTPUploader.performUpload: [IOException]: Invalid keystore format
I thought it might be the C:\mendelson\opensource\AS2\jetty\etc\keystore but I'm trying to send anything over https. Even still, I followed another thread here which said the keystore should be formatted as a JKS. I made a copy of the certificates.p12 store in JKS format and replaced the existing jetty\etc\keystore file. No luck.
I've been thru a huge number of google links and none seems to have aligned with my problem.
Thanks in advance.
Forum: AS2 [Less]
|
Posted
almost 12 years
ago
In reply to Help - Nearly working under JRE1.6 - then JRE1.7 and boom
Now reading through the MessageHTTPUploader.performUpload method ... (far too much happening in this method!) ... The only code that I can find that could be dealing with a key
... [More]
store is this:
SSLSocketFactory sslFactory = (SSLSocketFactory) httpClient.getConnectionManager().getSchemeRegistry().get("https").getSocketFactory();
sslFactory.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
... everything else look pretty straight forward. (Note that I've configured the partner to be to sent to on HTTP not HTTPS.
Just started to debug this ... Anyone reading this free to jump in anytime :) Thanks.
Log in or register to post comments
[Less]
|
Posted
almost 12 years
ago
In reply to Help - Nearly working under JRE1.6 - then JRE1.7 and boom
Running the following command ...
C:\Program Files (x86)\Java\jre1.6.0\bin>keytool -list -v -keystore C:\mendelson\opensource\as2\certificates.p12 -storetype pkcs12
... gives
... [More]
me a list of key store entries. I note all in lowercase ... Is Mendelson AS2 freaky about the case used in the UI?
Log in or register to post comments
[Less]
|
Posted
almost 12 years
ago
In reply to Help - Nearly working under JRE1.6 - then JRE1.7 and boom
Okay, next problem ...
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outgoing message signed with the algorithm SHA-1,using
... [More]
keystore alias "Supplier882003PortecleKeyPair".
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outgoing message encrypted with the algorithm 3DES, using keystore alias "Key2".
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Outbound AS2 message created from "MSG882003.xml" for the receiver "mendelsontest" in 875ms, raw message size: 4.65 KB
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: The file "MSG882003.xml" has been deleted and enqueued into the processing message queue of the server.
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: MessageHTTPUploader.performUpload: [IOException]: Invalid keystore format
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Connection problem, failed to transmit data.
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: Will retry to send transmission after 30s, retry 1/10.
If I'm reading this right, AS2 has picked up the message, signed and encrypted it using the senders Private Key (mycompany = Supplier882003) and has enqueued it to be sent over HTTP.
Have I got that right so far?
If so the error ...
[Jul 24, 2013 11:11:34 AM] mendelson_opensource_AS2-1374621093871-0@882003x_mendelsontestAS2: MessageHTTPUploader.performUpload: [IOException]: Invalid keystore format
... has me total confused. It hasn't sent anything over HTTP as far as I can tell (using NetMon). So what's going on?
Any help/suggesting gratefully accepted as my boss and his boss are wanting to know why a 1 day job has now taken 3 days.
Log in or register to post comments
[Less]
|
Posted
almost 12 years
ago
In reply to I am using 1.7.0_25 and
AlbertoM wrote:
I am using 1.7.0_25 and everything is working fine.
Maybe you should investigate somewhere else.
On Windows Server 2008 R2?
Log in or register to post comments
|
Posted
almost 12 years
ago
In reply to I am using 1.7.0_25 and
On windows server 2008 R2?
Log in or register to post comments
|
Posted
almost 12 years
ago
In reply to Help - Nearly working under JRE1.6 - then JRE1.7 and boom
created a .bat file for Portecle as so ...
cd C:\Program Files (x86)\Java\jre1.6.0\bin
java.exe -jar "C:\Program Files (x86)\Portecle\Portecle.jar"
... and Portecle "seems" to be
... [More]
working. Now to AS2 and in trying to set up "myCompany" I get a message box asking if I want to remname the mycomapny message folders and I answer yes. Log shows:
[6:54:38 PM] Client connected to localhost/127.0.0.1:1235
[10:52:55 AM] Unable to rename "C:\mendelson\opensource\AS2\messages\mycompany" to "C:\mendelson\opensource\AS2\messages\Supplier882003".
[10:52:55 AM] Directory poll manager: Poll for relationship "mycompany/mendelsontest" stopped.
[10:52:55 AM] Directory poll manager: Poll for relationship "Supplier882003/mendelsontest" started. Ignore files: "*.tmp,*.temp". Poll interval: 10s
Hmmm ... Now what's going on?
Log in or register to post comments
[Less]
|
Posted
almost 12 years
ago
In reply to Help - Nearly working under JRE1.6 - then JRE1.7 and boom
I am using 1.7.0_25 and everything is working fine.
Maybe you should investigate somewhere else.
Log in or register to post comments
|
Posted
almost 12 years
ago
Hi folks,
I've been trialling the free version of Mendelson AS2 on Windows Server 2008 R2.
After quite a few false starts I established (correctly or not!) that starting with the JRE1.6 versions of both Portecle and AS2 seemed to be a good idea.
... [More]
After 2 days of irrigation I had Portecle creating key stores correctly and AS2 using them. But when I went to send a file to our test server I got a "invalid keystore" error in brown and it went into the retry sequence getting the same message every time. (I had NetMon running and nothing was coming out of AS2 either).
This was frustrating enough ... But then ... Java 1.7 got installed and now NOTHING works! e.g.
- Portecle won't open the key store or show anything
- Portecle create a new key store or save it - keeps calling it Unitled
- Mendelson AS2 throws up the start/splash screen ... and then nothing. It hangs!
- And to make life worse - uninstalling AS2 and reinstalling gives the same results (even though I thought it was using its own copy of the JRE at 1.6).
What can I do now? There's a lots of other software on the server so a re-build is out of the question.
Help !!!
Forum: AS2 [Less]
|