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

Side by Side Diff: tests/standalone/io/sample_certificate_v3_extensions

Issue 1416843003: Add support for client certificates to Secure[Server]Socket (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comment Created 5 years, 2 months 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file.
4
5 # OpenSSL configuration file giving the v3 extensions for the sample
6 # certificates created by create_sample_certificates.sh
7
8 default_bits = 2048
9 distinguished_name = name_section
10 [name_section]
11 CN = foo
12
13 [localhost]
14 subjectAltName = @alt_names
15 basicConstraints = critical,CA:false
16 subjectKeyIdentifier = hash
17 authorityKeyIdentifier=keyid,issuer
18 keyUsage=critical, digitalSignature, keyEncipherment, keyAgreement
19 extendedKeyUsage=serverAuth
20
21 [alt_names]
22 DNS.1 = localhost
23 DNS.2 = 127.0.0.1
24 DNS.3 = ::1
25 IP.1 = 127.0.0.1
26 IP.2 = ::1
27
28 [intermediate_authority]
29 basicConstraints = critical, CA:true, pathlen:0
30 subjectKeyIdentifier=hash
31 authorityKeyIdentifier=keyid:always, issuer
32 keyUsage=critical, keyCertSign
33 extendedKeyUsage=serverAuth
34
35 [client_authority]
36 basicConstraints = critical,CA:true,pathlen:0
37 subjectKeyIdentifier=hash
38 authorityKeyIdentifier=keyid:always, issuer
39 keyUsage=critical, keyCertSign
40 extendedKeyUsage=clientAuth
41
42 [client_certificate]
43 basicConstraints = CA:false
44 subjectKeyIdentifier=hash
45 authorityKeyIdentifier=keyid:always, issuer
46 extendedKeyUsage=clientAuth
OLDNEW
« no previous file with comments | « tests/standalone/io/localhost_v3_extensions ('k') | tests/standalone/io/secure_server_client_certificate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698