blob: ce6734064a287a7052cee60b03cd9de5f95b79b2 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001The files in this directory are used by the ClientAuth test.
2
3The cert8.db password is: "test12"
4cert8.db includes entries for:
5
6 1. user1 (private key and cert signed by ca)
7 2. user2 (private key and self-signed cert)
8 3. ca (ca cert)
9
10and was set up using the following commands:
11
12 1. certutil -N -d .
13 2. certutil -G -k rsa -g 512 -d .
14 3. certutil -R -s "cn=user1" -k rsa -g 512 -d . -o user1.certreq
15
16 4. wrote own code to parse user1.certreq and create user1.cert signed
17 by the CA contained in basic.keystore (in the BasicData directory)
18
19 5. certutil -A -n user1 -t u -d . -i user1.cert
20 6. certutil -A -n ca -t c -d . -i ca.cert
21 7. certutil -S -n user2 -s cn=user2 -t u -k rsa -g 512 -x -d . -v 240
22
23server.keystore contains the server's private key entry.
24the server certificate is self-signed.
25server.keystore's password is: "passphrase"
26
27truststore is shared by both the client and the server,
28and contains certificates for user1, user2, server, and ca.
29The truststore password is: "passphrase"