Copy the file ca.crt, mosquitto.crt, mosquitto.key to the server and edit the configuration file /etc/mosquito/conf.d/server.conf