Faulty error message if SSH key missing and SSH file path not website root directory

Found in

EPiServer.Campaign.Commerce 1.0.28

Fixed in

EPiServer.Commerce 13.13.0

Created

Nov 18, 2019

Updated

Dec 20, 2019

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Configure the ssh file path to a folder other than the root (for example "/App_Data/campaign_ssh.key").
  2. Do not copy this key to app_data folder.
  3. Run the scheduled job "Export Product Data To Campaign".

Expected:
Error message shows the correct configured folder.

Actual:
Shows message "SSH file was not found on the website's root directory." So even if the user copies the key to the root folder, the job still fails.