3.20.3 Creating a definition file
Create a definition file (ftsftps) by following the procedure described below. The definition becomes enabled when the JP1/FTP daemon (jftsd) starts.
- Organization of this subsection
(1) Attributes of the definition file
Create a definition file with the following attributes.
Item name |
Set value |
---|---|
File name |
ftsftps |
Directory name |
/var/opt/jp1_fts/sys |
Owner |
Superuser |
Access permissions |
r for the owner |
(2) Information specified in the definition file
By following the definition approach described below, specify information in the definition file (ftsftps) by using a text editor.
Specify information in the definition file by using one line for one definition.
The following table describes the specifiable definitions.
Item name |
Value |
Description |
---|---|---|
PrivateKey |
path-to-the-server-private-key |
Specify a full path to the private key file of the server. If you do not specify the path, the usual FTP is used. |
Certificate |
path-to-the-certificate |
Specify a full path to the certificate file. If you do not specify the path, the usual FTP is used. |
FTPSModeOnly |
[YES|NO]<<NO>> |
Specify whether to use only FTPS.
|
The sample definition file is stored under the following directory:
-
/var/opt/jp1_fts/sys/ftsftps.model