Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(741)

Unified Diff: components/onc/docs/onc_spec.html

Issue 61903002: ChromeOS: Add more host verification options for OpenVpn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made 'type' optional. More tests. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/onc/docs/onc_spec.html
diff --git a/components/onc/docs/onc_spec.html b/components/onc/docs/onc_spec.html
index 0fe230b428addadf3e2f05e49a7360a46fdcacdb..f7c87e6c0ecd93b25984ce9847139285a5baf196 100644
--- a/components/onc/docs/onc_spec.html
+++ b/components/onc/docs/onc_spec.html
@@ -1192,9 +1192,52 @@
(optional)
<span class="type">string</span>
</span>
- Verbosity level, defaults to openvpn default if not specified.
+ Verbosity level, defaults to OpenVpn's default if not specified.
+ </dd>
+
+ <dt class="field">VerifyHash</dt>
+ <dd>
+ <span class="field_meta">
+ (optional)
+ <span class="type">string</span>
+ </span>
+ If set, this value is passed as the "--verify-hash" argument to OpenVPN,
+ which specifies the SHA1 fingerprint for the level-1 certificate.
+ </dd>
+
+ <dt class="field">VerifyX509</dt>
+ <dd>
+ <span class="field_meta">
+ (optional)
+ <span class="type">VerifyX509</span>
+ </span>
+ If set, the "--verify-x509-name" argument is passed to OpenVPN with the values of this object and only connections will be accepted if a host's X.509 name is equal to the given name.
+ </dd>
+ </dl>
+
+ <p>
+ <span class="type">VerifyX509</span> type contains the following:
+ </p>
+ <dl class="field_list">
+ <dt class="field">Name</dt>
+ <dd>
+ <span class="field_meta">
+ (required)
+ <span class="type">string</span>
+ </span>
+ The name that the host's X.509 name is compared to. Which host name is compared depends on the value of <span class="field">Type</span>.
+ </dd>
+
+ <dt class="field">Type</dt>
+ <dd>
+ <span class="field_meta">
+ (optional)
+ <span class="type">string</span>
+ </span>
+ Determines which of the host's X.509 names will be verified. Allowed values are <span class="value">name</span>, <span class="value">name-prefix</span> and <span class="value">subject</span>. See OpenVPN's documentation for "--verify-x509-name" for the meaning of each value. Defaults to OpenVPN's default if not specified.
</dd>
</dl>
+
</section>
</section>

Powered by Google App Engine
This is Rietveld 408576698