-
Jordan Bayles authored
This patch adds a build flag, CAST_ALLOW_DEVELOPER_CERTIFICATE, and a new command line switch ("--cast-developer-certificate-path") that allows developers to pass in a PEM file containing a root cast certificate that can be used for authentication. Example usage: -> % ./out/Default/Chromium.app/Contents/MacOS/Chromium --vmodule="*cert*=2" --cast-developer-certificate-path="generated_root_cast_receiver.crt" Note that the certificate path MUST be in the same directory or nested below the location of the Chrome executable. Referencing parent ("..") or using an absolute path (e.g. /usr/local/src/openscreen/generated_root_cast_receiver.crt) will cause Chrome to refuse to load the certificate. Bug: b/153079261 Change-Id: I8a8420547aeafb3535ce445ea72d13d9c3b18ddc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2472919 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by:
Jordan Bayles <jophba@chromium.org> Reviewed-by:
Doug Steedman <dougsteed@chromium.org> Reviewed-by:
mark a. foltz <mfoltz@chromium.org> Reviewed-by:
Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#826650}
8bc8fbcf