The invention relates to an HTTPS connection
verification method and device. The method comprises the following steps: when an HTTPS connection request is initiated to a website, a
certificate of the website is obtained; the
certificate and other father certificates of the
certificate except for a
root certificate are verified; if verifications of the certificate and the other father certificates are passed, whether the
root certificate is in a preset approval certificate
library is judged; if the
root certificate is in the preset approval certificate
library, the certificate verifications are passed, HTTPS connection is continued; if the root certificate is not in the preset approval certificate
library, the certificate, the root certificate and a
uniform resource locator of the website accessed by the HTTPS connection are verified, whether the certificate, the root certificate and the
uniform resource locator of the website accessed by the HTTPS connection are in a preconfigured
certificate verification set; if the certificate, the root certificate and the
uniform resource locator of the website accessed by the HTTPS connection are in the preconfigured
certificate verification set, the certificate verifications are passed, and the HTTPS connection is continued; and, if the certificate, the root certificate and the uniform resource locator of the website accessed by the HTTPS connection are not in the preconfigured
certificate verification set, the process is ended. The HTTPS connection
verification method and device do not need to install the root certificate, prevent a
system from a
threat, and improve safety of the
system.