Hikvision HTTPS Alarm Server setup

Configure a Hikvision ANPR camera to send events to Ruby ANPR over HTTPS port 443 using the Alarm Server endpoint.

After adding the camera in Ruby ANPR, copy the generated camera endpoint into the Hikvision Alarm Server configuration. HTTPS port 443 is the recommended starting point on compatible firmware.

Destination / Hostname: anpr.yourdomain.com Protocol: HTTPS Port: 443 URL: /ingest.php?key=YOUR_CAMERA_API_KEY ANPR Protocol Type: HIKVISION ANR: Enable

Verify the route with the camera Test button

On supported firmware, Test sends a synthetic event through the same route used by normal captures. Ruby ANPR may display registration 1111111, 0% confidence and UNKNOWN direction. Seeing that event proves camera → HTTPS → ingest.php → image storage → database → dashboard.

Use the hostname, not the server IP

The hostname ensures the request reaches the correct SSL certificate and virtual host. If Cloudflare is in front of the site, the camera should still use the public hostname.

After the Test event succeeds, leave the configuration alone and validate with a known real vehicle pass.