AACS icon indicating copy to clipboard operation
AACS copied to clipboard

SSL error connecting to vehicle

Open kevinlieb opened this issue 3 years ago • 4 comments

On connection to my car I am seeing: ep0 event 0 ep0 event 2 got version request version negotiation ok auth complete Error: SSL_read failed: -1 2 2 2 Tue Sep 27 19:57:39 PDT 2022

This is in Server.log

This is in connecting to my Kia. The ODroid N2 I am testing this with has connected to my Crankshaft setup, sort of, a few times before.

Do I need to regen the SSL keys for new cars or something?

kevinlieb avatar Sep 28 '22 16:09 kevinlieb

The current keys are valid only until 24 August 2022 and I think this is the most probable reason you are getting this error. The keys need to be dumped from fresh android auto process on rooted device using pmdump.

tomasz-grobelny avatar Oct 03 '22 23:10 tomasz-grobelny

@tomasz-grobelny haha, doing process memory dump might be easier as my method (I was dumping it from the code :D )

gamelaster avatar Oct 04 '22 05:10 gamelaster

I can't find the keys to save my life. There is no PEM-formatted string in the pmdump, and I've even searched for commonalities between the keys I found in the git history, looking for the binary, to no avail. I'm getting this same error; does anyone have a concrete explanation of how I could get these keys?

sploders101 avatar Nov 06 '22 23:11 sploders101

see also https://github.com/tomasz-grobelny/AACS/issues/15#issuecomment-1287651274

khimaros avatar May 25 '24 21:05 khimaros