Migrate Settings from Existing Configuration Files
A migration script is installed with Reflection for Secure IT UNIX Client and Server, which you can use to migrate settings configured using any of the following products:
-
F-Secure UNIX clients and servers
-
Reflection for Secure IT UNIX Client and Server 6.x UNIX clients and servers
-
Reflection for Secure IT UNIX Client and Server 7.x UNIX clients and servers.
The migration script is installed to:
/opt/microfocus/rsit/etc/migrate.sh
The script examines your configuration files to determine if setting
changes are required. If changes are needed, you are prompted to confirm
that you want to apply these changes. After you confirm the migration,
new configuration files are created with the required updates along with
backups of your original files. All operations are detailed in the
script’s output and log files. The log files document which settings
have been migrated and which cannot be migrated. Log files are created
in the same directory as the converted file and have names based on the
converted filename (for example, sshd2_config_migration.log
).
To migrate global configuration files
Note
When you run the migration script with no arguments, it migrates files located in the/opt/microfocus/rsit/etc
directory. If /opt/microfocus/rsit/etc/sshd2_config
and /opt/microfocus/rsit/etc/ssh2_config
contain non-default settings, you are asked if you want to migrate these files. If these settings contain default values (which is the expected state after you uninstall the prior version and then install the current version), the script looks for the most recent backup files (for example *.rpmsave
, *.save
or *.backup
) and asks if you want to migrate settings in the backup files.
-
Log in as root.
-
Uninstall the prior version.
-
Install the new version.
-
Run the migration script with no arguments:
/opt/microfocus/rsit/etc/migrate.sh
-
Respond to the prompts.
-
Review the migrated settings and the migration log and, where required, merge settings from the migrated backup files into
sshd2_config
andssh2_config
.
To migrate a user configuration file
-
Log in as root.
-
Run the migration script and specify the file you want to migrate. For example:
/opt/microfocus/rsit/etc/migrate.sh client ~/.ssh2/ssh2_config
To migrate PKI settings
-
Log in as root.
-
Use pkid with the -m option to migrate settings from your prior version configuration files. For example:
To migrate PKI settings in
sshd2_config
andssh2_config
files located in/opt/microfocus/rsit/etc/
and migrate these settings topki_config
andpki_map
files in the PKI Services Manager configuration folder:/usr/local/sbin/pkid -m /opt/microfocus/rsit/etc/
To migrate PKI settings in
sshd2_config.backup
and create new PKI Services Manager configuration files in the specified output directory:/usr/local/sbin/pkid -b /output/path/ -m /opt/microfocus/rsit/etc/sshd2_config.backup
-
Review the migration log, which is created in the
logs
directory located in the PKI Services Manager data directory. (By default, this log records at a level of "info". The level can be elevated using -d.)
Note
If the pki_config
file in the destination folder already has a trust anchor configured, no migration occurs. This helps ensure that the migration won't overwrite modifications you have already configured.
More information