Method and system for dynamically establishing secure connection of virtual host in cloud computing environment

The invention provides a method and a system for dynamically establishing secure connection of a virtual host in a cloud computing environment. According to the method and the system, in the cloud computing environment, nodes of a zero-credibility user virtual host are accessed into a virtual network, and a virtual IP (Internet Protocol) address is obtained through a credibility certification server; and the credibility certification server is used for carrying out strategy-based credible identity certification on the nodes of a source virtual host and a target virtual host, matching the security levels of the nodes of the source and target virtual hosts and assigning the type of an established secure connection protocol stack, and then, a source user virtual host can initiate secure connection establishment to a target user virtual host. According to the method and the system, the public online third-party credibility certification server is introduced in the cloud computing environment, so that the user virtual hosts with different service attributes and cross security domains dynamically establish the secure connection, and the problems that the conventional secure connection needs to be configured in advance, is established statically, is complicated in upgrading and maintenance, and the like are effectively solved. The method and the system have the advantages of simplicity, high efficiency, low cost and the like.