cef_test_cert_type_t

Certificate types supported by CefTestServer::CreateAndStart. The matching certificate file must exist in the "net/data/ssl/certificates" directory. See CefSetDataDirectoryForTests() for related configuration.

Values

ValueMeaning
CEF_TEST_CERT_OK_IP0

Valid certificate using the IP (127.0.0.1). Loads the "ok_cert.pem" file.

CEF_TEST_CERT_OK_DOMAIN1

Valid certificate using the domain ("localhost"). Loads the "localhost_cert.pem" file.

CEF_TEST_CERT_EXPIRED2

Expired certificate. Loads the "expired_cert.pem" file.

Meta