)]}'
{"deploy-guide/source/app-advanced-config-sslcertificates.rst":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c552edd598ab9420c519aa3c572a2fabda133aeb","unresolved":false,"context_lines":[{"line_number":21,"context_line":".. note::"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"   Perform all SSL certificate configuration in"},{"line_number":24,"context_line":"   ``/etc/openstack_deploy/user_variables.yml`` file and not in the playbook"},{"line_number":25,"context_line":"   roles themselves. The variables to set which provide the path on the deployment"},{"line_number":26,"context_line":"   node to the certificates for HAProxy configuration are:"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_5a037f74","line":25,"range":{"start_line":24,"start_character":68,"end_line":25,"end_character":8},"updated":"2017-07-20 15:50:47.000000000","message":"playbooks or roles","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"e2e47e378061fe5dfc7f2b12e1045c7db180196f","unresolved":false,"context_lines":[{"line_number":21,"context_line":".. note::"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"   Perform all SSL certificate configuration in"},{"line_number":24,"context_line":"   ``/etc/openstack_deploy/user_variables.yml`` file and not in the playbook"},{"line_number":25,"context_line":"   roles themselves. The variables to set which provide the path on the deployment"},{"line_number":26,"context_line":"   node to the certificates for HAProxy configuration are:"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":".. code-block:: yaml"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_5190054f","line":25,"range":{"start_line":24,"start_character":68,"end_line":25,"end_character":8},"in_reply_to":"1f1a1f67_5a037f74","updated":"2017-07-20 16:32:16.000000000","message":"Done","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c552edd598ab9420c519aa3c572a2fabda133aeb","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"   haproxy_user_ssl_cert: /tmp/example.com.crt"},{"line_number":31,"context_line":"   haproxy_user_ssl_key: /tmp/example.com.key"},{"line_number":32,"context_line":"   haproxy_user_ssl_ca_cert: /tmp/ExampleCA.crt"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Self-signed certificates"},{"line_number":35,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_ba04d37f","line":32,"updated":"2017-07-20 15:50:47.000000000","message":"I would suggest rather using values in the path:\n\n/etc/openstack_deploy/ssl/\n\nIt kinda enforces the fact that they\u0027re user-space. Also /tmp files won\u0027t last long as /tmp gets dumped from time to time and these files will need to be there forever.","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"e2e47e378061fe5dfc7f2b12e1045c7db180196f","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"   haproxy_user_ssl_cert: /tmp/example.com.crt"},{"line_number":31,"context_line":"   haproxy_user_ssl_key: /tmp/example.com.key"},{"line_number":32,"context_line":"   haproxy_user_ssl_ca_cert: /tmp/ExampleCA.crt"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Self-signed certificates"},{"line_number":35,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_319d8966","line":32,"in_reply_to":"1f1a1f67_ba04d37f","updated":"2017-07-20 16:32:16.000000000","message":"Done","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c552edd598ab9420c519aa3c572a2fabda133aeb","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Self-signed certificates enable you to start quickly and encrypt data in"},{"line_number":38,"context_line":"transit. However, they do not provide a high level of trust for highly"},{"line_number":39,"context_line":"secure environments. By default, self-signed certificates are used in"},{"line_number":40,"context_line":"OpenStack-Ansible. When self-signed certificates are used, you must disable"},{"line_number":41,"context_line":"certificate verification by using the following user variables, depending on"},{"line_number":42,"context_line":"your configuration. Add these variables in the"},{"line_number":43,"context_line":"``/etc/openstack_deploy/user_variables.yml`` file."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":".. code-block:: yaml"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    keystone_service_adminuri_insecure: true"},{"line_number":48,"context_line":"    keystone_service_internaluri_insecure: true"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Setting subject data for self-signed certificates"},{"line_number":51,"context_line":"-------------------------------------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_9a7c77ec","line":48,"range":{"start_line":40,"start_character":18,"end_line":48,"end_character":47},"updated":"2017-07-20 15:50:47.000000000","message":"This is no longer true and can be removed. We automatically do this is you\u0027re not using user provided certs.","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"e2e47e378061fe5dfc7f2b12e1045c7db180196f","unresolved":false,"context_lines":[{"line_number":37,"context_line":"Self-signed certificates enable you to start quickly and encrypt data in"},{"line_number":38,"context_line":"transit. However, they do not provide a high level of trust for highly"},{"line_number":39,"context_line":"secure environments. By default, self-signed certificates are used in"},{"line_number":40,"context_line":"OpenStack-Ansible. When self-signed certificates are used, you must disable"},{"line_number":41,"context_line":"certificate verification by using the following user variables, depending on"},{"line_number":42,"context_line":"your configuration. Add these variables in the"},{"line_number":43,"context_line":"``/etc/openstack_deploy/user_variables.yml`` file."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":".. code-block:: yaml"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    keystone_service_adminuri_insecure: true"},{"line_number":48,"context_line":"    keystone_service_internaluri_insecure: true"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Setting subject data for self-signed certificates"},{"line_number":51,"context_line":"-------------------------------------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_119a8d6d","line":48,"range":{"start_line":40,"start_character":18,"end_line":48,"end_character":47},"in_reply_to":"1f1a1f67_9a7c77ec","updated":"2017-07-20 16:32:16.000000000","message":"Done","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c552edd598ab9420c519aa3c572a2fabda133aeb","unresolved":false,"context_lines":[{"line_number":72,"context_line":"Self-signed certificates are generated for each service during the first"},{"line_number":73,"context_line":"run of the playbook."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"To generate a new self-signed certificate for a service, you must set"},{"line_number":76,"context_line":"the ``\u003cservicename\u003e_ssl_self_signed_regen`` variable to true in one of the"},{"line_number":77,"context_line":"following ways:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* To force a self-signed certificate to regenerate, you can pass the variable"},{"line_number":80,"context_line":"  to ``openstack-ansible`` on the command line:"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  .. code-block:: shell-session"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"     # openstack-ansible -e \"horizon_ssl_self_signed_regen\u003dtrue\" os-horizon-install.yml"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"* To force a self-signed certificate to regenerate with every playbook run,"},{"line_number":87,"context_line":"  set the appropriate regeneration option to ``true``.  For example, if"},{"line_number":88,"context_line":"  you have already run the ``os-horizon`` playbook, but you want to regenerate"},{"line_number":89,"context_line":"  the self-signed certificate, set the ``horizon_ssl_self_signed_regen``"},{"line_number":90,"context_line":"  variable to ``true`` in the ``/etc/openstack_deploy/user_variables.yml``"},{"line_number":91,"context_line":"  file:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  .. code-block:: yaml"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"     horizon_ssl_self_signed_regen: true"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":".. note::"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_5aedbf89","line":95,"range":{"start_line":75,"start_character":0,"end_line":95,"end_character":40},"updated":"2017-07-20 15:50:47.000000000","message":"Change this to use haproxy as the example, because haproxy is now the default public endpoint. The variable to set is haproxy_ssl_self_signed_regen","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"e2e47e378061fe5dfc7f2b12e1045c7db180196f","unresolved":false,"context_lines":[{"line_number":72,"context_line":"Self-signed certificates are generated for each service during the first"},{"line_number":73,"context_line":"run of the playbook."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"To generate a new self-signed certificate for a service, you must set"},{"line_number":76,"context_line":"the ``\u003cservicename\u003e_ssl_self_signed_regen`` variable to true in one of the"},{"line_number":77,"context_line":"following ways:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* To force a self-signed certificate to regenerate, you can pass the variable"},{"line_number":80,"context_line":"  to ``openstack-ansible`` on the command line:"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"  .. code-block:: shell-session"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"     # openstack-ansible -e \"horizon_ssl_self_signed_regen\u003dtrue\" os-horizon-install.yml"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"* To force a self-signed certificate to regenerate with every playbook run,"},{"line_number":87,"context_line":"  set the appropriate regeneration option to ``true``.  For example, if"},{"line_number":88,"context_line":"  you have already run the ``os-horizon`` playbook, but you want to regenerate"},{"line_number":89,"context_line":"  the self-signed certificate, set the ``horizon_ssl_self_signed_regen``"},{"line_number":90,"context_line":"  variable to ``true`` in the ``/etc/openstack_deploy/user_variables.yml``"},{"line_number":91,"context_line":"  file:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  .. code-block:: yaml"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"     horizon_ssl_self_signed_regen: true"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":".. note::"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_9187bd10","line":95,"range":{"start_line":75,"start_character":0,"end_line":95,"end_character":40},"in_reply_to":"1f1a1f67_5aedbf89","updated":"2017-07-20 16:32:16.000000000","message":"Done","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c552edd598ab9420c519aa3c572a2fabda133aeb","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":".. code-block:: yaml"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    rabbitmq_user_ssl_cert:    /tmp/example.com.crt"},{"line_number":131,"context_line":"    rabbitmq_user_ssl_key:     /tmp/example.com.key"},{"line_number":132,"context_line":"    rabbitmq_user_ssl_ca_cert: /tmp/ExampleCA.crt"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Then, run the playbook to apply the certificates:"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_da8d4fd4","line":132,"range":{"start_line":130,"start_character":0,"end_line":132,"end_character":49},"updated":"2017-07-20 15:50:47.000000000","message":"I would suggest rather using values in the path:\n/etc/openstack_deploy/ssl/","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"e2e47e378061fe5dfc7f2b12e1045c7db180196f","unresolved":false,"context_lines":[{"line_number":127,"context_line":""},{"line_number":128,"context_line":".. code-block:: yaml"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    rabbitmq_user_ssl_cert:    /tmp/example.com.crt"},{"line_number":131,"context_line":"    rabbitmq_user_ssl_key:     /tmp/example.com.key"},{"line_number":132,"context_line":"    rabbitmq_user_ssl_ca_cert: /tmp/ExampleCA.crt"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Then, run the playbook to apply the certificates:"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1f1a1f67_3176a940","line":132,"range":{"start_line":130,"start_character":0,"end_line":132,"end_character":49},"in_reply_to":"1f1a1f67_da8d4fd4","updated":"2017-07-20 16:32:16.000000000","message":"Done","commit_id":"954a26be888608cb23641c5bf1d33c767cf8e0df"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"da809373ca1df312bb1540e1feaa347f6c20587b","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  .. code-block:: shell-session"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"     # openstack-ansible -e \"haproxy_ssl_self_signed_regen\u003dtrue\" os-horizon-install.yml"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* To force a self-signed certificate to regenerate with every playbook run,"},{"line_number":80,"context_line":"  set the appropriate regeneration option to ``true``.  For example, if"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff346bd7_7f04f117","line":77,"range":{"start_line":77,"start_character":29,"end_line":77,"end_character":58},"updated":"2017-07-24 16:02:44.000000000","message":"horizon_ssl_self_signed_regen still applies for horizon.","commit_id":"d25e7d03a650732af5714c02ae1d0b67953f043c"},{"author":{"_account_id":15993,"name":"Amy Marrich","display_name":"Amy Marrich (spotz)","email":"amy@demarco.com","username":"amarrich"},"change_message_id":"cc0f86680806c9e920c057649a2cddb3f9282aed","unresolved":false,"context_lines":[{"line_number":74,"context_line":""},{"line_number":75,"context_line":"  .. code-block:: shell-session"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"     # openstack-ansible -e \"haproxy_ssl_self_signed_regen\u003dtrue\" os-horizon-install.yml"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* To force a self-signed certificate to regenerate with every playbook run,"},{"line_number":80,"context_line":"  set the appropriate regeneration option to ``true``.  For example, if"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ff346bd7_622e9444","line":77,"range":{"start_line":77,"start_character":29,"end_line":77,"end_character":58},"in_reply_to":"ff346bd7_7f04f117","updated":"2017-07-24 16:09:58.000000000","message":"Done","commit_id":"d25e7d03a650732af5714c02ae1d0b67953f043c"}]}
