tomasz-grobelny/AACS

SSL error connecting to vehicle

Opened this issue · 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?

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 haha, doing process memory dump might be easier as my method (I was dumping it from the code :D )

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?