gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/grpc/testdata/x509/openssl.cnf (about) 1 [req] 2 distinguished_name = req_distinguished_name 3 attributes = req_attributes 4 5 [req_distinguished_name] 6 7 [req_attributes] 8 9 [test_ca] 10 basicConstraints = critical,CA:TRUE 11 subjectKeyIdentifier = hash 12 authorityKeyIdentifier = keyid:always,issuer:always 13 keyUsage = critical,keyCertSign 14 15 [test_server] 16 basicConstraints = critical,CA:FALSE 17 subjectKeyIdentifier = hash 18 keyUsage = critical,digitalSignature,keyEncipherment,keyAgreement 19 subjectAltName = @server_alt_names 20 21 [server_alt_names] 22 DNS.1 = *.test.example.com 23 24 [test_client] 25 basicConstraints = critical,CA:FALSE 26 subjectKeyIdentifier = hash 27 keyUsage = critical,nonRepudiation,digitalSignature,keyEncipherment 28 extendedKeyUsage = critical,clientAuth