Keystone uses cryptographically signed tokens with a private key and are matched against x509 certificate with public key. Chatper 5, Glance Image Service discusses advanced configurations. In this recipe, we will use
keystone-manage pki_setup command to generate PKI key pairs and configure Keystone to use it.
Generate PKI keys using the
[root@controller ~]# keystone-manage pki_setup --keystone-user keystone --keystone-group keystone
Change the ownership of the generated PKI files:
[root@controller ~]# chown -R keystone:keystone /var/log/keystone /etc/keystone/ssl/
Configure Keystone service to use the generated PKI files:
[root@controller ~]# openstack-config --set /etc/keystone/keystone.conf signing token_format PKI [root...