A commissioning device comprising a controller for controlling at least one lighting device (2,3) including at least a transceiver (21,31) coupled to a load (22,32), said transceiver (21,31) comprising an identification information and a security information, wherein said identification information is comprised in the list of: a MAC address, a network address, a serial number, or any unique identifier that can identify the lighting device (2, 3) in a lighting network, and said security information is used for securing the communication with the transceiver (21,31), wherein said controller comprises - a first interface for a first communication (20,30) with the transceiver (21, 31), and - a second interface for a second communication with a remote database, wherein: • said remote database is adapted to store the identification information and an associated security information for the at least one lighting device (2,3); • the controller is adapted to retrieve the identification information of the transceiver (21,31) through the first interface, and • the controller is adapted to send the identification information to the remote database through the second interface; the commissioning device being characterized in that: • the controller is adapted to retrieve the associated security information from the remote database through the second interface, wherein the associated security information is specific to the identification information; • the controller is adapted to use the associated security information to secure the first communication (20,30) with the transceiver (21,31) by encrypting or decrypting messages exchanged with the lighting device (2, 3) with the associated security information, and wherein the transceiver (21, 31) is configured to use the security information to secure the first communication (20, 30) with the controller, and • the security information and the associated security information are ∘ either a same information comprised in the list of: a PIN code, a keyword, a symmetric encryption key, a master key, ∘ or complementary information in the form of a Public Key Infrastructure, PKI, key pair. - a first interface for a first communication (20,30) with the transceiver (21, 31), and - a second interface for a second communication with a remote database, • said remote database is adapted to store the identification information and an associated security information for the at least one lighting device (2,3); • the controller is adapted to retrieve the identification information of the transceiver (21,31) through the first interface, and • the controller is adapted to send the identification information to the remote database through the second interface; • the controller is adapted to retrieve the associated security information from the remote database through the second interface, wherein the associated security information is specific to the identification information; • the controller is adapted to use the associated security information to secure the first communication (20,30) with the transceiver (21,31) by encrypting or decrypting messages exchanged with the lighting device (2, 3) with the associated security information, and wherein the transceiver (21, 31) is configured to use the security information to secure the first communication (20, 30) with the controller, and • the security information and the associated security information are ∘ either a same information comprised in the list of: a PIN code, a keyword, a symmetric encryption key, a master key, ∘ or complementary information in the form of a Public Key Infrastructure, PKI, key pair. ∘ either a same information comprised in the list of: a PIN code, a keyword, a symmetric encryption key, a master key, ∘ or complementary information in the form of a Public Key Infrastructure, PKI, key pair.