Alarm Decoder - from Mac to pi server

General Discussion

Alarm Decoder - from Mac to pi server

Postby s2928 » Sun Sep 14, 2014 3:05 pm

I have my AD2USB connected to a raspberry pi and can control my alarm via browser using the webapp.

i would like to see if i can control the alarm via the alarmdecoder app for Mac.

i do not understand the directions for ssl in the alarmdecoder app for mac which say to read the ser2sock readme.txt, or the error message, that require a certificate in the same folder.

here is a screenshot of the error message...
Attachments
Screen Shot 2014-09-14 at 5.54.21 PM.png
error message trying to connect via ssl from mac to pi server
Screen Shot 2014-09-14 at 5.54.21 PM.png (92.73 KiB) Viewed 5372 times
s2928
newt
newt
 
Posts: 15
Joined: Wed Sep 03, 2014 8:11 pm

Re: Alarm Decoder - from Mac to pi server

Postby mathewss » Sun Sep 14, 2014 3:53 pm

First get things going with no SSL it is easier. Is your ser2sock running with certificates and SSL? By default I think its not configured this way.

Re
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: Alarm Decoder - from Mac to pi server

Postby s2928 » Sun Sep 21, 2014 7:32 pm

When i set up th RPi, first i used the web app, and set it up with no SSL.

That worked via browser, but i didnt try the mac app.

Then i used the webapp to add ssl and that worked via browser.

Are you saying i should turn off ssl, then try the mac app?

If so, by turning off ssl, dont i give up some security?

Thanks.
s2928
newt
newt
 
Posts: 15
Joined: Wed Sep 03, 2014 8:11 pm

Re: Alarm Decoder - from Mac to pi server

Postby kevin » Tue Sep 23, 2014 11:04 am

You will have to get the certs off of your pi, they would be in /etc/ser2sock/certs

You will need to convert them to pkcs12 format, here is an example (untested) to do this:

openssl pkcs12 -export -in web.pem -inkey web.key -out clientCert.p12 -name client -certfile ca.pem


Replace the pem and key files in that line with your generated ssl chains from the pi - place the resulting pkcs12 pack in the same folder as the alarmdecoder keypad's main binary.

You can also export the certs from the webapp in pkcs12 format itself. They would be under the certificates tab in settings!

Thanks,
Kevin
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 28 guests

cron