Handling ssl authentification to carbon server.