Accessing SFTP credentials
This feature allows you to access the SFTP drive, Username, and Password from the SFTP credentials tile present on the Administration page in IBM® Controller Web.
Complete the following steps to access SFTP user credentials in IBM Controller Web.
Before you begin
Configure and store SFTP credentials:
- Save the SFTP drive URL:
- Navigate to the file
ccr_64\frontend\config.js. - Locate or add the key
sftpUrl. - Assign the SFTP drive URL as the URL value to
sftpUrl.
- Navigate to the file
- Store the SFTP server Username and Password securely:
- Open Command Prompt.
- Navigate to the directory
ccr_64\frontend. - Run the following script to store the credentials
.\Node\node .\addFtpKey.js {username} {password}Note: Replace {username} with your actual username (in plain text). Replace {password} with your Base64-encoded password.
- Verify the key storage in JKS file:
- Navigate to the directory
..\ccr_64\fcmweb\jre\bin. - Run the following command to list keys in the keystore
keytool -list -v -keystore key.jks. - Check for a key with an alias name ending in
_sftpkey. - If the key is not found, re-run the script from Step 2 with the correct credentials.
- Navigate to the directory