| In recent years,with the rapid development of informatization construction,the issues of information network security are increasingly exposing.An effective method to solve the issues of information network security is to encrypt sensitive imformation,which involves key related issues inevitably,and how to ensure the lifecycle management of the key becomes the core of information security.The hardware security module is a dedicated encryption processor designed to protect lifecycle management of the encryption keys and provide secure data transmission across the network over encrypted connections.it provides real-time prevention across the entire network with seamless end-to-end integration.However,in a specific application environment,the hardware security modules do not provide a detailed key management strategy,and with the increase of hardware security modules,lost of key files need to be shared or updated on a single key management system.Therefore,the ability to handle a large number of key files,effectively provide the lifecycle management of the encryption keys,seamlessly integrate and communicate with hardware security modules becomes the main challenges for key management.In view of the above problems,the thesis designs and implements a key management system based on hardware security module at the network layer,provide the simplified lifecycle management of encryption keys protected and used by hardware security modules,and provides unified management and control for the hardware security modules.It enables hardware security modules to provide stable and secure data transmission in the network.The main work of the thesis is as follows:(1)Based on the characteristics of the security system at the network layer and the hardware security modules,the key system is designed according to the specific application.The master key is used for identity authentication between the key management system and the hardware security module,the storage encryption key is used to encrypt and store the master key and the working key,and the session key is used to protect the communication security between the two parties.The working key is used to provide the hardware security module as encryption key for end-to-end data transmission encryption.(2)Analyze the functional and non-functional requirements of the key management system,implement the overall design and functional module division of the system,subdivide and design the functions that need to be implemented into each module,and implement key management functions such as generation,storage,distribution,update,revocation,destroy and destruction of encryption key,implement equipment management functions such as authentication,monitor and management of hardware security module,implement log management functions such as recording and archiving of log information generated during system operation.(3)Based on the Browser/Server software development structure,combined with Java Web,Spring Boot,My SQL and other related development technologies and tools,and following the design principles of standardization,modularization,and loose coupling.The key management system is implemented in a specific project.It has high maintainability and scalability,and can be extended,optimized and upgraded in the future.(4)According to the typical application scenarios of the key management system,a test environment is built,and each functional module of the system is tested and analyzed.The test results are in line with expectations and basically meet the design goal of providing key management services for hardware security module to achieve secure communication. |