/simple_secure_surveillance_camera_raspi

Raspberry Pi surveillance camera with TLS encryption and basic http authentification

Primary LanguagePython

Raspberry PI simple surveillance camera using TLS

This server sends a .mjpg stream to the specified ports. There are three different versions of the server.

  1. Implementation from the raspberry pi camera doc
  2. Only encrypted version without password, for testing purposes
  3. Version with encryption and password

How to run

You need to connect a raspberry pi camera (CSI).

For 2. and 3. it is nessecary to create the self-signed certificate first. When creating the certificate in the same folder use:

openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes

Change login credentials

In script 3. at line 110 and 111 you can find the password and username used for login.

Credits to simple-https-server.

Android app for client side

As part of this little project I also created a simple android app to get the stream.

Feel free to reuse everything you find here.