JANUS DISPLAYCA: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:JANUS DISPLAYCA}}
{{DISPLAYTITLE:JANUS DISPLAYCA}}
<span class="pageSubtitle"><section begin="desc" />DISPLAYCA<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Display certificate information<section end="desc" /></span>


This command displays information about the contents of "trusted" certifying authority certificates that have been added to a port with the [[JANUS ADDCA]] command. Sample DISPLAYCA output that shows the kind of information displayed follows the parameter descriptions, below.


Certifying authority is often abbreviated as CA. DISCA is a valid synonym for DISPLAYCA.


This command displays information about the contents of "trusted" certifying authority certificates that have been added to a port with the JANUS ADDCA command ([[JANUS ADDCA]]). Sample DISPLAYCA output that shows the kind of information displayed follows the parameter descriptions, below.
Certifying authority is often abbreviated as CA. DISCA is a valid synonym for DISPLAYCA.
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> JANUS DISPLAYCA [portname] [filename] [procname]
<p class="syntax"><section begin="syntax" /> JANUS DISPLAYCA [portname] [filename] [procname]
Line 13: Line 12:
</p>
</p>


Where each parameter is positional, can be specified with pattern wildcards, and can be replaced with an asterisk (<code>*</code>), which returns all values for that category. You may omit a parameter (which is equivalent to specifying an asterisk value for it) if the parameters to its right are omitted.


Where each parameter is positional, can be specified with pattern wildcards, and can be replaced with an asterisk (<code>*</code>), which returns all values for that category. You may omit a parameter (which is equivalent to specifying an asterisk value for it) if the parameters to its right are omitted.
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>portname</th>
<tr><th>portname</th>
Line 22: Line 21:
<tr><th>procname</th>
<tr><th>procname</th>
<td>The name of the procedure that contains the CA certificate whose information you want to display. Because the certificates are copied into memory at the time of the JANUS ADDCA command, neither the file nor the procedure containing the certificate is opened during JANUS DISPLAYCA processing. In fact, neither the file nor the procedure need to be accessible or even to exist at the time of the JANUS DISPLAYCA.
<td>The name of the procedure that contains the CA certificate whose information you want to display. Because the certificates are copied into memory at the time of the JANUS ADDCA command, neither the file nor the procedure containing the certificate is opened during JANUS DISPLAYCA processing. In fact, neither the file nor the procedure need to be accessible or even to exist at the time of the JANUS DISPLAYCA.
</td></tr></table>
</td></tr>
</table>


The following example shows the format of DISPLAYCA output for a Sirius-certified certificate. Note that it includes the ADDCA command that loaded the certificate.


The following example shows the format of DISPLAYCA output for a Sirius-certified certificate. Note that it includes the ADDCA command that loaded the certificate.
<p class="code"> JANUS ADDCA SSLCLIENT TESTPROC TEST.CERT
<p class="code"> JANUS ADDCA SSLCLIENT TESTPROC TEST.CERT
  * Subject: sirius|sirius-software.com|www.sirius-software.com
  * Subject: sirius|sirius-software.com|www.sirius-software.com
Line 43: Line 43:
  * SHA hash: aabb:ccdd:eeff:gghh:iijj:kkll:mmnn:oopp:qqrr:sstt
  * SHA hash: aabb:ccdd:eeff:gghh:iijj:kkll:mmnn:oopp:qqrr:sstt
</p>
</p>


The JANUS DISPLAYCA command is available only in ''[[Sirius Mods]]'' version 6.0 and later.
The JANUS DISPLAYCA command is available only in ''[[Sirius Mods]]'' version 6.0 and later.


See: [[List_of_Janus_commands|Janus command list]]
[[Category:Janus commands|JANUS DISPLAYCA]]
[[Category:Janus commands|JANUS DISPLAYCA]]
[[Category:Sirius commands]]
[[Category:Sirius commands]]

Revision as of 20:59, 28 February 2011

<section begin="desc" />Display certificate information<section end="desc" />

This command displays information about the contents of "trusted" certifying authority certificates that have been added to a port with the JANUS ADDCA command. Sample DISPLAYCA output that shows the kind of information displayed follows the parameter descriptions, below.

Certifying authority is often abbreviated as CA. DISCA is a valid synonym for DISPLAYCA.

Syntax

<section begin="syntax" /> JANUS DISPLAYCA [portname] [filename] [procname] <section end="syntax" />

JANUS DISPLAYCA command syntax

Where each parameter is positional, can be specified with pattern wildcards, and can be replaced with an asterisk (*), which returns all values for that category. You may omit a parameter (which is equivalent to specifying an asterisk value for it) if the parameters to its right are omitted.

portname The defined JANUS port whose trusted certificate information is to be displayed.
filename The name of the file that contains trusted CA certificates whose information you want to display.
procname The name of the procedure that contains the CA certificate whose information you want to display. Because the certificates are copied into memory at the time of the JANUS ADDCA command, neither the file nor the procedure containing the certificate is opened during JANUS DISPLAYCA processing. In fact, neither the file nor the procedure need to be accessible or even to exist at the time of the JANUS DISPLAYCA.

The following example shows the format of DISPLAYCA output for a Sirius-certified certificate. Note that it includes the ADDCA command that loaded the certificate.

JANUS ADDCA SSLCLIENT TESTPROC TEST.CERT * Subject: sirius|sirius-software.com|www.sirius-software.com * Software Development * Sirius Software Inc. * Cambridge, MA, US * Issuer: sirius|sirius-software.com|www.sirius-software.com * Software Development * Sirius Software Inc. * Cambridge, MA, US * Version: 1 * Serial no.: xxxx:yyyy * Valid from: Wed, 26 Mar 2003 15:05:50 GMT * Valid to: Mon, 13 Jun 2011 15:05:50 GMT * Key length: 512 bits * MD5 hash: abcd:efgh:ijkl:mnop:qrst:uvwx:yz12:3456 * SHA hash: aabb:ccdd:eeff:gghh:iijj:kkll:mmnn:oopp:qqrr:sstt

The JANUS DISPLAYCA command is available only in Sirius Mods version 6.0 and later.

See: Janus command list