Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
To create a provisioning XML file that will provision the device with the root certificate you must complete the following steps:
Note: |
---|
Your provisioning XML must not contain Byte Order Markers (BOM). Use a text editor that does not insert BOMs when saving files in UTF-8 format. |
To create a provisioning XML document
-
Add the following XML code to a document:
Copy Code <wap-provisioningdoc> <characteristic type="CertificateStore"> <characteristic type=" STORELOCATION"> <characteristic type=" CERTHASH"> <parm name="EncodedCertificate" value=" BASE64ENCODEDCERT"/> </characteristic> </characteristic> </characteristic> </wap-provisioningdoc>
-
Replace STORELOCATIONwith ROOT.
-
In Windows Explorer, double-click the exported root certificate.
-
Choose the Detailstab.
-
Choose Thumbprintin the list box, select the text, and then press CTRL+C.
-
In the XML code, to add the root certificate thumbprint to the provisioning XML, replace CERTHASHwith the copied text.
-
Delete the spaces in the thumbprint text.
-
Open the exported root certificate using a text editor.
-
Delete BEGIN CERTIFICATEand END CERTIFICATE, and then remove line breaks from the remaining text. This text is the encoded contents of the root certificate.
-
Select the text, and then press CTRL+C.
-
In the XML code, to add the root certificate to the provisioning XML, replace BASE64ENCODEDCERTwith the copied text. The completed provisioning XML document will appear as shown in the following example.
Copy Code <wap-provisioningdoc> <characteristic type="CertificateStore"> <characteristic type="ROOT"> <characteristic type="{hash of certificate}"> <parm name="EncodedCertificate" value="{encoded hash of certificate}"/> </characteristic> </characteristic> </characteristic> </wap-provisioningdoc>
For information about the provisioning file syntax for different OMA Client Provisioning versions, see OMA Client Provisioning Files.
-
Save the XML document as an ASCII file named _setup.xml.