|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE task |
|
11 PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
|
12 <task id="GUID-9473F793-29ED-42ED-933B-A995E56E71CB" xml:lang="en"><title>Creating |
|
13 a Certificate Store</title><shortdesc>certapp helps you create certificate stores. The following is an |
|
14 example for creating a certificate store. </shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
|
15 <steps id="GUID-96BC4EFA-5D97-5125-82F3-8EFF6CB590D5"> |
|
16 <step id="GUID-C87DB19B-8443-5F13-B623-2FF2839C44B6"><cmd>Create a configuration |
|
17 file, <codeph>certclients.txt</codeph>, which maps application name text strings |
|
18 to application UIDs. </cmd> |
|
19 <info>Make sure that only one application name maps to a UID. </info> |
|
20 <info> <b>Note:</b> Although no error is displayed when you map more than |
|
21 one application name to a UID, this is not recommended. </info> |
|
22 <info>The following is an example of a configuration file: </info> |
|
23 <stepxmp><codeblock id="GUID-C2C5476F-EE06-520A-A152-BD73F1E4374F" xml:space="preserve"> |
|
24 StartClientInfo |
|
25 # Entry 1 |
|
26 Uid 0x100042ab |
|
27 Name "SW Install" |
|
28 # Entry 2 |
|
29 Uid 0x1000a8b6 |
|
30 Name "SW Install OCSP Signing" |
|
31 EndClientInfo |
|
32 </codeblock> </stepxmp> |
|
33 </step> |
|
34 <step id="GUID-10DCCA68-8018-5C5E-8659-2EEE13C6D663"><cmd/> |
|
35 <info>Convert <codeph>certclients.txt</codeph> to a binary file using the |
|
36 following command: </info> |
|
37 <info><p><cmdname>> certapp --hcertclients=certclients.txt --out --bcertclients=certclients.dat</cmdname></p></info> |
|
38 </step> |
|
39 <step id="GUID-C1959BB6-6EA7-5D3F-AB72-6FC0632D8BBC"><cmd/> |
|
40 <info>Generate the file certificate store (<codeph>cacerts.dat</codeph>) and |
|
41 SWI certificate store (<codeph>swicertstore.dat</codeph>) files. </info> |
|
42 <info><p><cmdname>> certapp --hcertclients=certclients.txt --hfilecertstore=cacerts.txt |
|
43 --out --bfilecertstore=cacerts.dat</cmdname></p></info> |
|
44 <info><p><cmdname>> certapp --hcertclients=certclients.txt --hswicertstore=swicertstore.txt |
|
45 --out --bswicertstore=swicertstore.dat </cmdname></p></info> |
|
46 <info><p><b>Note:</b> You can use the following command to combine the listed |
|
47 commands into a single command and create a certificate store. </p><p><cmdname>> |
|
48 certapp --hcertclients=certclients.txt --hfilecertstore=cacerts.txt --hswicertstore=swicertstore.txt |
|
49 --out --bcertclients=certclients.dat --bfilecertstore=cacerts.dat --bswicertstore=swicertstore.dat </cmdname></p></info> |
|
50 </step> |
|
51 </steps> |
|
52 </taskbody><related-links> |
|
53 <link href="GUID-7C96B363-7891-50D3-A40F-92B9CBC4624C.dita"><linktext>Using certapp</linktext> |
|
54 </link> |
|
55 </related-links></task> |