How to setup a SFTP service on the Imagicle Application Suite to replace the default unsecure Microsoft FTP server included in the Windows platform

Applies to:

Imagicle UC Suite (any version).

Description:

How to setup and configure a SFTP server on the Imagicle UC Suite to replace the default FTP server included in the Windows platform to achieve greater security in the communication from Calling Platform to the Imagicle server.

If Imagicle UC Suite already includes a SFTP server and a software update to latest release is performed, our package setup installs and configures a new SFTP server, while just one server is used. In this case, we suggest to disable the alternative SFTP server.

Three alternative methods are described.

Embedded SFTP Server on Windows Server 2019 and above

Up to 2022.Spring.1 Imagicle release

With Windows server 2019, it is possible to install an SFTP server right from the Windows Apps and Features section. Please follow below procedure:

  1. Go to Windows Settings-->Apps 
  2. Click on "Manage optional features" Under apps and features menu
  3. Look for OpenSSH Server, check if it's already installed, if not click on "Add a feature" to install it.

Configuring OpenSSH server to start on Windows startup:

Changing the root directory of OpenSSH server:

From 2022.Spring.2 Imagicle release and newer

No need to manually install SSH Server. This is already included in Imagicle package. Just proceed with next step.

SFTP Credentials

Create a local user, on the Windows server of the Imagicle VM or an Active Directory user if the server is joined to the domain, for instance:

In CUCM, go to Unified serviceability-->Tools-->CDR management

For older versions of Windows Server OS, you can choose among existing third party SFTP services. Below, two examples.

SFTP SERVER with Solarwinds

To enable SFTP we need to use a third-party tool named SFTP/SCP Server from Solarwinds.
Download SFTP/SCP Server  from here , install it and setup it following on screen instructions.

CUCM Configuration

Go to Cisco Unified Serviceability | Tools | CDR Management

Add "Billing Application Server Parameters" with the following parameters:

SFTP SERVER with FreeFTPd

To enable SFTP we need to use a third-party tool named freeFTPd from Freesshd.
Download freeFTPd.exe daemon (version 1.0.13) from http://www.freesshd.com and setup it following on screen instructions.

The service must be appropriately configured, during setup it is necessary:
- Confirm the creation of a private security key
- Enable freeFTPd to run as a service.

After setting it up run the freeFTPd tool and:
- Enable SFTP service only and configure root directory as: <StonevoiceAS>\Apps\BillyBlues\Engine\ccm5cdr

Remember to click on "Apply & Save" button and start the service with the "Start" button on the Server status row.

- Define a user "imagicleSFTP" with authorization: "Password stored as SHA1 hash", home directory "$SERVERROOT" and enable SFTP server:

CUCM Configuration

Go to Cisco Unified Serviceability | Tools | CDR Management

Add "Billing Application Server Parameters" with the following parameters:



Article ID: 603
Last updated: 02 May, 2022
Revision: 17
Imagicle UC Suite for Cisco UC -> Call Analytics -> FAQ and Solutions -> How to setup a SFTP service on the Imagicle Application Suite to replace the default unsecure Microsoft FTP server included in the Windows platform
https://kbp.imagicle.com/kb/entry/603/