| OLD | NEW |
| (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 |
| OLD | NEW |