summaryrefslogtreecommitdiffstats
path: root/spec/unit/network
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-05-02 18:08:43 +1000
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit46c72bb1039029a4f0e7ccbdfe39ff24475ea844 (patch)
tree1c61fee962851dcda2c278b3a1ed96b50b491cc3 /spec/unit/network
parentee0cc07544df334cdc549907b4dca8d8d115b7b7 (diff)
Updated CHANGELOG for 0.25.5rc2
Diffstat (limited to 'spec/unit/network')
0 files changed, 0 insertions, 0 deletions
ption value='ticket-474-7'>ticket-474-7 Unnamed repository; edit this file 'description' to name the repository.Endi Dewata
summaryrefslogtreecommitdiffstats
path: root/base/kra/functional/drmclient.readme.txt
blob: 833c5ce3cd5043455ac84b89a2780e8d8f4404c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Running drmclient.py:

The python drmclient currently requires a little setup to be run.

1. Create a working directory - the code uses /tmp/drmtest
2. In that directory, create an NSS database.  In this doc, we will use the 
   password redhat123 as the password for the NSS db.

   certutil -N -d /tmp/drmtest

3. Add a password file /tmp/drmtest/pwdfile.txt.  It should contain the password for
   the NSS database.

4. Put the transport certificate in a file /tmp/drmtest/transport.crt in binary format.

   certutil -L -d /var/lib/pki-kra/alias -n "DRM Transport Certificate" -a > /tmp/drmtest/transport.asc
   AtoB /tmp/drmtest/transport.asc /tmp/drmtest/transport.crt

5. Import the transport certificate into the certificate databse in /tmp/drmtest.
   certutil -A -d /tmp/drmtest -n "DRM Transport Certificate" -i /tmp/drmtest/transport.asc

5. Run GeneratePKIArchiveOptions to generate some test data.   Specifically we will be 
   using it to generate a symmetric key and its associated PKIArchoveOptions structure
   to be archived.

   GeneratePKIArchiveOptions -k /tmp/drmtest/symkey.out -w redhat123 -t /tmp/drmtest -o /tmp/drmtest/options.out