Skip to content

Commit 4c5d668

Browse files
committed
Add important security note in ApplicationSettings.ignore_certificate_errors.
1 parent 631fd54 commit 4c5d668

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/Build-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
NOTE: These instructions are for the master branch (Chrome 51).
44

55
There are several types of builds you can perform:
6+
67
1. You can build CEF Python using prebuilt CEF binaries that were
78
uploaded to GH releases (tagged eg. v51-upstream)
89
2. You can build both CEF Python and CEF from sources, but note

docs/api/ApplicationSettings.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ internet should not enable this setting. Also configurable using the
159159
Can be overridden for individual CefRequestContext instances via the
160160
CefRequestContextSettings.ignore_certificate_errors value.
161161

162+
__IMPORTANT__: This option not only ignores all certificate errors,
163+
but it also enables caching of content due to custom patch being
164+
applied (read more in "NOTE ON CACHING" further down). If you don't
165+
want this caching feature of insecure content then alternatively you
166+
can ignore certificate errors using the
167+
RequestHandler.[_OnCertificateError()](#_oncertificateerror)
168+
callback. Note that disk caching is enabled only when the "cache_path"
169+
option is set.
170+
162171
__NOTE ON CACHING__: the official CEF Python binary releases incorporate a patch
163172
that changes the caching behavior on sites with SSL certificate errors
164173
when used with this setting. Chromium by default disallows caching of

0 commit comments

Comments
 (0)