Authenticating a networked camera using a certificate having device binding information
A device authentication method includes: connecting to a device such as a camera through a network; receiving, from the device, a certificate of the device including device binding information about the device; sending, to the device, a device management message for administration level authentication; receiving, from the device, device information about the device in response to the administration level authentication being successful; determining whether the certificate is valid based on the device binding information and the device information; and establishing a protected communication session with the device in response to the certificate being determined to be valid.
1 . A device authentication method comprising:
connecting to a device through a network;
receiving, from the device, a certificate of the device comprising device binding information about the device, the device binding information comprising first device information associated with the device binding information;
transmitting, to the device, a request message for requesting second device information about the device when a management device does not store the second device information in a storage of the management device;
receiving, from the device, the second device information in response to the request message;
determining, by the management device, whether device binding information included in the certificate is generated based on the second device information; and
determining, by the management device, whether the certificate is valid by comparing first hash data related to pre-stored certificate information with second hash data related to the certificate; and
establishing a protected communication session with the device in response to the certificate being determined to be valid,
wherein based on at least a portion of the second device information being included in the device binding information, the device binding information is generated based on the second device information,
wherein based on the first hash data matching the second hash data, the certificate is determined as valid and
wherein the first device information is generated based on at least a part of a medium access control (MAC) address and at least a portion of a controller, a storage and an image sensor included in the device.
2 . The device authentication method of claim 1 , wherein the first device information and the second device information represent identification information about the device for identifying the device from other devices.
3 . The device authentication method of claim 2 , wherein the device binding information represents that the certificate has been issued for the device identified by the first device information.
4 . The device authentication method of claim 3 , wherein the second device information comprises at least a part of a Medium Access Control (MAC) address of a communication interface included in the device.
5 . The device authentication method of claim 4 , wherein the second device information comprises information about a component constituting the device.
6 . A camera authentication method comprising:
connecting to a management device through a network;
transmitting, to the management device, a certificate of a device comprising device binding information about the device, the device binding information comprising first device information associated with the device binding information;
receiving, from the management device, a request message for requesting second device information about the device when a management device does not store the second device information in a storage of the management device; and
transmitting, to the management device, second device information in response to the request message,
wherein based on at least a portion of the second device information being included in the device binding information, the device binding information is generated based on the second device information, and
wherein the first device information is generated based on at least a part of a medium access control (MAC) address and at least a portion of a controller, a storage and an image sensor included in the device.
7 . A management device for a camera comprising:
a communication interface configured to communicate with the camera;
a storage configured to store device information about the camera; and
a controller operatively coupled to the communication interface and the storage, and configured to:
connect to the camera through a network;
receive, from the camera, a certificate of the camera comprising device binding information about the camera, the device binding information comprising first device information associated with the device binding information;
transmit, to the camera, a request message for requesting second device information about the camera when the management device does not store the second device information in a storage of the management device;
receive, from the camera, the second device information in response to the request message;
determine whether the device binding information included in the certificate is generated based on the second device information;
determine whether the certificate is valid by comparing a first hash data related to pre-stored certificate information with a second hash data related to the certificate; and
establish a protected communication session with the camera in response to the certificate being determined to be valid,
wherein based on at least a portion of the second device information being included in the device binding information, the device binding information is generated based on the second device information,
wherein based on the first hash data matching the second hash data, the certificate is determined as valid, and
wherein the first device information is generated based on at least a part of a medium access control (MAC) address and at least a portion of a controller, a storage and an image sensor included in the device.
8 . The management device of claim 7 , wherein the second device information comprises at least a part of a Medium Access Control (MAC) address of a communication interface included in the camera.
9 . The management device of claim 8 , wherein the certificate is expressed in a form of X.509v3, and
wherein the device binding information is included in a SubjectPublickeyInfo field or an extension field.
10 . The management device of claim 7 , wherein the controller is further configured to control the communication interface to establish the protected communication session via SSL (Secure Socket Layer) protocols in response to validating the certificate.
11 . A camera comprising:
a communication interface configured to communicate with a management device;
an image sensor configured to capture image data;
a storage configured to store a certificate of the camera, and store a public key included in the certificate and a private key generated to have a cryptographic relation with the public key; and
a controller operatively coupled to the image sensor and the storage, and configured to:
connect, to a management device through a network;
transmit, to the management device, the certificate comprising device binding information about the camera, the device binding information comprising first device information associated with the device binding information;
receive, from the management device, a request message for requesting second device information about the camera when the management device does not store the second device information in a storage of the management device;
transmit, to the management device, second device information in response to the request message; and
establish a protected communication session with the management device based on a result of determining whether the certificate is valid at the management device,
wherein based on at least a portion of the second device information being included in the device binding information the device binding information is generated based on the second device information, and
wherein the first device information is generated based on at least a part of a medium access control (MAC) address and at least a portion of a controller, a storage and an image sensor included in the device.
12 . The camera of claim 11 , wherein the first device information and the second device information represent identification information about the camera for identifying the camera from other devices.
13 . The camera of claim 12 , wherein the first device information comprises at least a part of a Medium Access Control (MAC) address of the communication interface.