Simulator scripts for datafile-collector
[integration.git] / test / mocks / datafilecollector-testharness / ftps-sftp-server / README.md
1 ###Deployment of certificates: (in case of update)
2
3 This folder is prepared with a set of keys matching DfC for test purposes.
4
5 Copy from datafile-app-server/config/keys to the ./tls/ the following files:
6
7 * dfc.crt
8 * ftp.crt
9 * ftp.key
10
11 ###Docker preparations
12 Source: https://docs.docker.com/install/linux/linux-postinstall/
13
14 `sudo usermod -aG docker $USER`
15
16 then logout-login to activate it.
17
18 ###Starting/stopping the FTPS/SFTP server(s)
19
20 Start: `docker-compose up`
21
22 Stop: Ctrl +C, then `docker-compose down`  or `docker-compose down --remove-orphans`
23
24 If you experience issues (or port collision), check the currently running other containers
25 by using 'docker ps' and stop them if necessary.
26
27
28 ###Cleaning docker structure
29 Deep cleaning: `docker system prune`