server edit
Edits an existing server definition.
Syntax
mfp server edit
- [<name> [--name|-n <newName>] [--url|-u <newUrl>]
- [--login|-l <newLogin>] [--password|-p <newPassword>]
- [--contextroot|-c <newContextRoot>] [--setdefault|-s]]
Parameters
- <name>
- The name of the server to modify.
- --name|-n <newName>
- The new name for this alias. Renames this entry.
- --url|-u <newUrl>
- The fully qualified URL of the server. The syntax must include the full: protocol://name.domain:port. The IP address can also be used instead of name.domain. This value is required if the server name is supplied on the command line.
- --login|-l <newLogin>
- The admin login ID used to manage the MobileFirst Server.
- --password|-p <newPassword>
- The password for the admin login ID. If not supplied, you are prompted for the admin password on all server management tasks.
- --contextroot|-c <newContextRoot>
- The context root of the MobileFirst administration services.
- --setdefault|-s
- Providing this flag makes this new server the new default server profile.
Usage
- Interactive mode: $ mfp server edit.
- Direct mode: $ mfp server edit staging --name preprod --setdefault
Important: If the certificate of the server is not recognized as a trusted certificate,
the following error is displayed when you run this command: Failed to retrieve runtime
information: CERT_UNTRUSTED. To add your certificate to the list of trusted certificates,
see Specifying a trusted SSL certificate.