Creating Swicertstore.dat File

During installation of a native software SWI checks the certificates in the swicertstore.dat file against the certificates with which the SIS files are signed to assure if the native software being installed is from a trusted source.

Swicertstore tool requires a text file containing the certificate details to create a swicertstore.dat file. For more information about the input file see, Swicertstore Tool Input File Reference.

  1. Create certificate files and keys using the Makekeys tool.

  2. Launch the emulator using epoc.exe.

  3. Launch EShell within the emulator and run >swicertstoretool c:\inputfile c:\outputfile c:\logfile. Here:
    • inputfile is the name of the text file.

    • outputfile is the name of the file created by the tool, that is, swicertstore.dat file.

    • outputfile is the name of the file created by the tool, that is, swicertstore.dat file.

    Note: This command must be run in the same directory where the text file is placed. The output file and log file are created or overwritten if required.

Swicertstore.dat file is created and stored in two places:

  • On the ROM drive - z:\resource\swicertstore.dat.

  • On the writable swicertstore $:\resource\swicertstore.dat (where $ is the system drive).

Related concepts
Platform Security
Related reference
Swicertstore Tool Reference