Creating and uploading a management certificate and keystore