Issue link: https://read.uberflip.com/i/1334488
Installing OpenStack Storage 102 How it works... OpenStack Storage is a web service so we can use traditional command-line web clients to troubleshoot and verify our OpenStack Storage installation. This becomes very useful for debugging OpenStack Storage at this low level, just as you would debug any web service. Using curl allows us to get a glimpse of how authentication and service discovery works. We first send through our authentication details (that we specified in our /etc/swift/ proxy-server.conf file, as we're using the proxy server to provide our authentication) and in return, we're presented with some reply headers that we can then use to find the objects we have access to via the URL returned to us. The swift command wraps this process into a single line, but the result is the same. Behind the scenes, the authentication returns a URL after successful authentication, and then lists the statistics of that container. Setting up SSL access Setting up SSL access provides secure access between the client and our OpenStack Storage environment in exactly the same way SSL provides secure access to any other web service. To do this, we configure our proxy server with SSL certificates. Getting ready To begin with, log in to our openstack2 server. How to do it... Configuration of OpenStack Storage to secure communication between the client and the proxy server is done as follows: 1. In order to provide SSL access to our proxy server, we first create the certificates, as follows: cd /etc/swift sudo openssl req -new -x509 -nodes -out cert.crt -keyout cert.key www.it-ebooks.info

