Information Technology Reference
In-Depth Information
1. You can use various methods to obtain the certificate, and in this chapter, we are
going to use Wget, the common utility, that ships along with most of the Linux
distribution.
Note
For detailed instructions on using other methods to obtain the certificate, please
refer to the TLS/SSL Certification section under RHEV 3.3 Command Line Shell
Guide at https://access.redhat.com/documentation/en-US/
Red_Hat_Enterprise_Virtualization/3.3/html/Command_Line_Shell_Guide/At-
taining_an_SSL_certificate_from_RHEVM_for_a_REST_API_Client.html .
2. To download and save the certificate using Wget, run the following command:
# wget -O rhevm.cer http://rhevmanager.example.com/
ca.crt
3. Once you obtain the certificate on the client machine, you can start the CLI ap-
plication by running the following command from an interactive shell:
[root@storage ~]# rhevm-shell
URL: https://rhevmanager.example.com/
Username: admin
Password:
4. Alternatively, in order to automatically connect to the shell, run the following
command:
# rhevm-shell -c -l "https://rhevmanager.example.com/
api" -u admin@internal -A /root/rhevm.cer
Password:"feed-your-admin-passowrd"
==========================================
>>> connected to RHEVM manager 3.3.0.0 <<<
==========================================
++++++++++++++++++++++++++++++++++++++++++
Welcome to RHEVM shell
++++++++++++++++++++++++++++++++++++++++++
[RHEVM shell (connected)]#
Search WWH ::




Custom Search