Handshake failure with Swish certificate

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

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

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

tim

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

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

I get the same error running the Test keys

Get it both with test keys and production ones

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

@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.

@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

@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?

عرض الكود على GitHub