certconv
is a tool that creates the root certificate given to the NITRO-WiFi SOC_EnableSSL
function. It converts a general X.509 DER-format root certificate file to the SOCCaInfo structure type.
% certconv -n <symbol_name> [-o <outfile>] <infile>
Using the X.509 DER-format root certificate file specified in infile
as its input, this outputs a C source file that defines the SCOCaInfo
-type data which holds the symbol name specified in symbol_name
. If outfile
is specified, this will write to outfile
. If not, it will write to standard output.
The certificate data for the X.509 DER format can be created with a standard SSL tool kit such as OpenSSL. For more information, refer to the general SSL documentation.
For reference, the method using the openssl
command to convert X.509 PEM-format certificate data to DER format is shown below:
> openssl x509 -inform pem -in <Input PEM file> -outform der -out <output DER file>
In addition, the following command can be used to check whether or not the file is in DER format:
> openssl x509 -inform der -in <input DER file> -text
$NitroWiFi/tools/bin/certconv.exe
SOCCaInfo
,
SOCSslConnection
,
SOC_EnableSsl
01/30/2006 Initial version.