Openstack I build 2

Source: Internet
Author: User
Tags modulus

[[Email protected] ~] # Cd/usr/local/src/

[[Email protected] SRC] # cdkeystone-2014.1

[[Email protected] keystone-2014.1] # Python setup. py install

[[Email protected] keystone-2014.1] # CD etc/

[[Email protected] etc] # ll

Total usage 72

-RW-r -- 1 1004 1004 1540 April 17 17:19 default_catalog.templates

-RW-r -- 1 1004 1004 38423 April 17 17:19 Keystone. conf. Sample

-RW-r -- 1 1004 1004 April 17 17:19 keystone-paste.ini

-RW-r -- 1 1004 1004 1046 April 17 17:19 logging. conf. Sample

-RW-r -- 1 1004 1004 6397 April 17 17:19 policy. JSON

-RW-r -- 1 1004 1004 9032 April 17 17:19 policy. v3cloudsample. JSON

Create the directory required by keystone

[[Email protected] etc] # mkdir/etc/keystone

[[Email protected] etc] # mkdir/var/log/keystone

[[Email protected] etc] # mkdir/var/run/keystone

[[Email protected] etc] # cp Keystone. conf. Sample/etc/keystone/Keystone. conf

[[Email protected] etc] # cp keystone-paste.ini/etc/keystone/

[[Email protected] etc] # cp logging. conf. Sample/etc/keystone/logging. conf

[[Email protected] etc] # cp policy. JSON/etc/keystone/

Create a PKI certificate

[[Email protected] etc] # keystone-manage pki_setup -- keystone-User Root -- keystone-group Root

Generating RSA private key, 2048 bit long Modulus

... + +

..............................

E is 65537 (0x10001)

Generating RSA private key, 2048 bit long Modulus

........................................ .......................... ++

........................................ ..................... ++

E is 65537 (0x10001)

Using configuration from/etc/keystone/SSL/certs/OpenSSL. conf

Check that the request matches the signature

Signature OK

The subject's distinguished name is as follows

Countryname: printable: 'us'

Stateorprovincename: ASN.1 12: 'unset'

Localityname: ASN.1 12: 'unset'

Organizationname: ASN.1 12: 'unset'

CommonName: ASN.1 12: 'www .example.com'

Certificate is to be certified until Aug 14 15:01:44 2024 GMT (3650 days)


Write out database with 1 new entries

Data Base updated


625 rows

[[Email protected] linux-node1 etc] # chown-r root: Root/etc/keystone/SSL

[[E-mail protected] etc] # chmod-r 750/etc/keystone/SSL

[[Email protected] etc] # Cd ~

[[Email protected] ~] # Vim/etc/keystone/Keystone. conf

Connection = MYSQL: // keystone: [email protected]/keystone


This article is from the "8055082" blog and will not be reproduced!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.