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

Side by Side Diff: tests/standalone/io/certificates/README

Issue 1399243004: Add script that generates X509 certificates for testing dart:io SecureSocket (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments 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
« no previous file with comments | « no previous file | tests/standalone/io/certificates/server_chain.pem » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This directory, tests/standalone/io/certificates, contains the 1 This directory, tests/standalone/io/certificates, contains the
2 X509 TLS certificates and private keys needed to run tests of Dart's 2 X509 TLS certificates and private keys needed to run tests of Dart's
3 secure networking code. The SecureSocket and SecureServer classes 3 secure networking code. The SecureSocket and SecureServer classes
4 are tested by making TLS (formerly called SSL) connections, secured 4 are tested by making TLS (formerly called SSL) connections, secured
5 by certificates from a self-signed test root authority. 5 by certificates from a self-signed test root authority.
6 6
7 The certificates are created by running ../create_sample_certificates.sh
8 in a bash or sh shell, with the openssl tools installed. Run the script
9 twice to create the untrusted_* files.
10
7 server_chain.pem: 11 server_chain.pem:
8 Contains the chain of certificates, from the self-signed 12 Contains the chain of certificates, from the self-signed
9 test certificate authority, through the intermediate CA, to the server 13 test certificate authority, through the intermediate CA, to the server
10 certificate, used on the server side of a test connection. 14 certificate, used on the server side of a test connection.
11 15
12 server_key.pem: 16 server_key.pem:
13 Contains the private key for the server certificate 17 Contains the private key for the server certificate
14 18
15 trusted_certs.pem: 19 trusted_certs.pem:
16 Contains the self-signed certificate of the test certificate authority. 20 Contains the self-signed certificate of the test certificate authority.
17 This certificate is set as "trusted" by the client side of the connection 21 This certificate is set as "trusted" by the client side of the connection
18 in its SecurityContext object, so that a verified TLS connection to the 22 in its SecurityContext object, so that a verified TLS connection to the
19 server can be made. 23 server can be made.
20 24
21 untrusted_server_chain.pem: 25 untrusted_server_chain.pem:
22 Contains a chain of certificates, from a different self-signed 26 Contains a chain of certificates, from a different self-signed
23 test certificate authority, through an intermediate CA, to a server 27 test certificate authority, through an intermediate CA, to a server
24 certificate, used on the server side of a test connection that is intended 28 certificate, used on the server side of a test connection that is intended
25 to fail because the client does not accept this certificate authority 29 to fail because the client does not accept this certificate authority
26 30
27 untrusted_server_key.pem: 31 untrusted_server_key.pem:
28 Contains the private key for the untrusted server certificate 32 Contains the private key for the untrusted server certificate
29 in untrusted_server_chain.pem 33 in untrusted_server_chain.pem
30 34
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/io/certificates/server_chain.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698