Hitachi

JP1 Version 12 JP1/Base User's Guide


openssl

Organization of this page

Function

The openssl command is provided by OpenSSL.

Format

For details about the format (options) of the openssl command, see the official website of OpenSSL.

Required execution permission

For details about execution permission required for the openssl command, see the official website of OpenSSL.

Command directory

OS

Command directory

Windows

32-bit

installation-folder\ssl\32mt\bin

  • HP-UX

  • AIX

  • Linux

32-bit, multithread

/opt/jp1base/ssl/32mt/bin

32-bit, single thread

/opt/jp1base/ssl/32st/bin

Solaris

32-bit, multithread

/opt/jp1base/ssl/32mt/bin

32-bit, single thread

/opt/jp1base/ssl/32st/bin

Notes

Examples

The following shows examples of executing the openssl command.

To create a private key jp1basesslkey.pem in RSA format:
openssl genrsa 2048 -out jp1basesslkey.pem
To create a CSR jp1base.csr:
openssl req -key jp1basesslkey.pem -out jp1base.csr
To check the expiration date of a server certificate jp1basessl.pem:
openssl x509 -text -noout -in jp1basessl.pem

Execution result (excerpts):

Validity
Not Before: Jul 21 01:31:49 2015 GMT
Not After: Jul 18 01:31:49 2025 GMT

Not Before indicates the date and time when the server certificate was issued.

Not After indicates the expiration date of the server certificate.