Handshake failure with Swish certificate

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

I get this Error: "error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure". Im running the test keys. This should be a server error, right? Something like curl having problems making handshake, or have you seen this issue before?

Many thanks in advance!

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

Make sure you properly follow the instructions how to setup a certificate.

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

Yes, but this was for testing, with the test credentials. Shouldnt they work "out of the box"?

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

Yes they should. I remember them having trouble one day when I recieved the same error. Contact them and see.

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

So the issue remains for some reason. Should one do something with the cainfo.pem?

LiteCart Fan
Från Sweden
Medlem sedan dec. 2013

I get the same error running the Test keys

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

Get it both with test keys and production ones

LiteCart Fan
Från Sweden
Medlem sedan dec. 2013

I get this error with production keys
Error: unable to set private key file: '../www/ext/swish/1231234567.key' type PEM

Edit:
Third time is a charm :)
Got it to work, don't know what I did wrong, but something was it :D

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

@kf22cv Did you manage to get it to work?
Have you tried downloading the latest test keys from Swish website? I know they have been replaced once or twice.

I moved this topic to a split thread instead

[quote]Error: unable to set private key file: '../www/ext/swish/1231234567.key' type PEM[/quote]
This would indicated that you have set a password for the certificate but haven't configured the module with the right one.

LiteCart Fan
Från Sweden
Medlem sedan jan. 2017

@tim, I have not unfortunately. I believe these issues are 2 separate issues. The one that osse has is probably, like you say Tim, not set up correctly. @osse; Just follow the plugin instructions. When you have a key paired at swish and the corresponding key on your server that error will dissapere. 

@tim; the error remains, and im out of guesses
× Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small

tim
Founder
Från Sweden
Medlem sedan maj 2013
tim

@kf22cv Are you on a self hosted server or on a professional webhost? Wondering if openssl is set up correctly. TLS 1.2 is required.
Have you contacted tekniksupport@getswish.se?

Du
Denna webbplats använder inga kakor och ingen spårningsteknik från tredje part . Vi tror att vi kan göra det bättre än andra och tänker verkligen på din integritet.