Testing the Secure FTP Service
Test the secure gRPC FTP service in the terminal.
We added certificates to two modules of the grpc-ftp-project
:
The server key and certificates were added to
ftp-service
The client key and certificates were added to
ftp-service-cli-client
The last three lessons discussed the changes made to the ftp-service
, ftp-service-client
and ftp-service-cli-client
to use TLS credentials for communication. We need to recompile the project. This can be done from the Terminal in the IDE by executing the following command:
mvn clean install
This command will first remove the previous build files and then trigger the build process again to compile the project’s source code. After running this command, you will find a target
folder within each module of your project. The target
folder contains the recompiled classes, JAR files, and other artifacts generated during the build process.
Start the gRPC server
To start the server, we will run the commands from the target
folder in the ftp-service
project. We will navigate to grpc-ftp-project/ftp-service/target
directory and execute the following ...