After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 113 of 317

Chapter 4 103 2. We need to answer the following questions that the certificate process asks us: 3. Once created, we configure our proxy server to use the certificate and key by editing the /etc/swift/proxy-server.conf file: bind_port = 443 cert_file = /etc/swift/cert.crt key_file = /etc/swift/cert.key 4. With this in place, we can restart the proxy server, using the swift-init command, to pick up the change: sudo swift-init proxy-server restart How it works... Configuring OpenStack Storage to use SSL involves configuring the proxy server to use SSL. We first configure a self-signed certificate using the openssl command, which asks for various fields to be filled in. An important field is the Common Name field. Put in the fully qualified domain name (FQDN) hostname or IP address that you would use to connect to the Swift server. Once that has been done, we specify the port that we want our proxy server to listen on. As we are configuring an SSL HTTPS connection, we will use the standard TCP port 443 that HTTPS defaults to. We also specify the certificate and key that we created in the first step, so when a request is made, this information is presented to the end user to allow secure data transfer. With this in place, we then restart our proxy server to listen on port 443. www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook