Creating the .crt file to be used by the client