摘要 |
The present invention provides a key configuration method, system, and apparatus, where the method includes: acquiring, by the configuration device, a public key of a second device, and sending the public key of the second device to a first device; generating, by the first device, a first shared key, and sending information for obtaining the first shared key to the second device by using the public key of the second device, or generating, by the first device, a first shared key by using the public key of the second device, and sending information for obtaining the first shared key to the second device; and generating, by the second device, the first shared key by using a private key of the second device and the information for obtaining the first shared key, where the first shared key is used for a secure connection between the first device and the second device. The present invention can improve security of an interaction between the first device and the second device. |