Book Image

OpenStack Cloud Computing Cookbook

By : Cody Bunch
Book Image

OpenStack Cloud Computing Cookbook

By: Cody Bunch

Overview of this book

Table of Contents (19 chapters)
OpenStack Cloud Computing Cookbook Third Edition
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Using the command-line tools with HTTPS


When OpenStack Identity endpoint is configured to use HTTPs, using the command-line tools with OpenStack Compute will require specifying SSL certificates for validation.

Getting ready

The tools will be installed on your host computer if it’s running Ubuntu, which is the easiest way to get hold of the nova client packages ready to manage your cloud environment. If using our Vagrant lab environment, self-signed certificates are installed and set up for using with HTTPS endpoints. We recommend that you use certificates issued by a trusted Certificate Authority (CA) for your production environment.

How to do it...

The nova client packages are conveniently available from the Ubuntu repositories. SSL certificates are already installed and configured for use by Keystone for validation.

  1. As a normal user on our Ubuntu machine, type the following commands:

    sudo apt-get update
    sudo apt-get install python-novaclient 
    
  2. After installing the command-line tools, set up...