kemai icon indicating copy to clipboard operation
kemai copied to clipboard

SSL Handshake failed on macos version

Open shrippen opened this issue 2 years ago • 6 comments

Hi,

I have recently tried to use your most excellent program on MacOS. Sadly it can not connect to my kimai instance. I've tried the same kimai instance with the recent kemai version on Windows, and the kimai offline tracker for ios and it works flawlessly. So it seems to be related to the specific macos build.

This is the error message: Error on request [version]: SSL handshake failed

Do you have an idea how I can fix this?

shrippen avatar Jul 15 '22 13:07 shrippen

Hi @shrippen,

It may be related to missing cert file in archive. I will check and update.

AlexandrePTJ avatar Jul 15 '22 13:07 AlexandrePTJ

Thanks. I did also test the 0.7.0 and 0.6.0 versions which show the same behaviour.

shrippen avatar Jul 15 '22 13:07 shrippen

Same problem here with version 0.7.1 Fix is needed or at least a workaround - can cert file(s) be injected or ignored somehow?

larsvonhier avatar Aug 03 '22 07:08 larsvonhier

Do you use self-signed certificates ? I tried to connect to https://demo-stable.kimai.org and it worked (From OSX Monterey).

AlexandrePTJ avatar Aug 03 '22 19:08 AlexandrePTJ

Yes i do, via caddy and letsencrypt Edit: I am stupid, sorry, of course thats not! self-signed because I use signed certificates from letsencrypt

shrippen avatar Aug 03 '22 19:08 shrippen

Certs might be self signed (we host the data base on a local Mac Pro in our intranet), Kimai via web interface works fine though.

larsvonhier avatar Aug 04 '22 08:08 larsvonhier

It was a packaging problem. Fixed for the next release.

AlexandrePTJ avatar Aug 22 '22 21:08 AlexandrePTJ

@shrippen @larsvonhier Here is a newly generated version for Mac OSX. Would you please test it and tell me if SSL is fine. I tested from my side, it looks ok. Kemai macos-latest.zip

AlexandrePTJ avatar Aug 24 '22 09:08 AlexandrePTJ