E.4 Displaying certificate contents
The following describes the command for displaying the contents of a certificate file provided by JP1/AJS3 - Web Console. The provided command varies depending on the version of JP1/AJS3 - Web Console.
- Format
-
For JP1/AJS3 - Web Console version 11-10-02 or earlier, or version 11-00-10 or earlier.
certutil cert -in certificate-file -text
The path to be specified for the certutil command is JP1/AJS3-Web-Consoleinstallation-folder\uCPSB\httpsd\sbin\certutil for Windows, and /opt/jp1ajs3web/uCPSB/httpsd/sbin/certutil for Linux.
For a version other than those listed above:
- In Windows:
openssl.bat x509 -in certificate-file -text
The path of the openssl.bat is JP1/AJS3-Web-Console-installation-folder\uCPSB\httpsd\sbin\openssl.bat.
For details about execution permission required for the openssl.bat, see the official website of OpenSSL.
- In Linux:
openssl.sh x509 -in certificate-file -text
The path of the openssl.sh is /opt/jp1ajs3web/uCPSB/httpsd/sbin/openssl.sh.
For details about execution permission required for the openssl.sh, see the official website of OpenSSL.
- Parameters
-
- -in certificate-file
-
Specify the certificate file to be displayed.
- Usage example 1
-
To display the contents of a certificate file (httpsd.pem) by using the certutil cert command:
certutil cert -in httpsd.pem -text
- Usage example 2
-
To display the contents of a certificate file (httpsd.pem) by using the openssl.bat x509 command:
openssl.bat x509 -in httpsd.pem -text