File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
ansible/roles/certificates Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 39
39
-CA "{{ root_dir }}/root.crt"
40
40
-CAkey "{{ root_dir }}/root.key"
41
41
-CAcreateserial
42
+ -extensions v3_req
43
+ -extfile "{{ kolla_certificates_dir }}/openssl-kolla-backend.cnf"
42
44
-out "{{ backend_dir }}/backend.crt"
43
45
-days 500
44
46
-sha256
Original file line number Diff line number Diff line change 46
46
-CA "{{ root_dir }}/root.crt"
47
47
-CAkey "{{ root_dir }}/root.key"
48
48
-CAcreateserial
49
+ -extensions v3_req
50
+ -extfile "{{ kolla_certificates_dir }}/openssl-kolla.cnf"
49
51
-out "{{ external_dir }}/external.crt"
50
52
-days 365
51
53
-sha256
114
116
-CA "{{ root_dir }}/root.crt"
115
117
-CAkey "{{ root_dir }}/root.key"
116
118
-CAcreateserial
119
+ -extensions v3_req
120
+ -extfile "{{ kolla_certificates_dir }}/openssl-kolla-internal.cnf"
117
121
-out "{{ internal_dir }}/internal.crt"
118
122
-days 365
119
123
-sha256
Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ countryName = US
8
8
stateOrProvinceName = NC
9
9
localityName = RTP
10
10
organizationalUnitName = kolla
11
- commonName = {{ kolla_internal_fqdn }}
12
11
13
12
[v3_req]
14
13
subjectAltName = @alt_names
15
14
16
15
[alt_names]
17
16
{% if kolla_internal_fqdn != kolla_internal_vip_address %}
18
17
DNS.1 = {{ kolla_internal_fqdn }}
19
- {% else %}
20
- IP.1 = {{ kolla_internal_fqdn }}
21
18
{% endif %}
19
+ IP.1 = {{ kolla_internal_vip_address }}
Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ countryName = US
8
8
stateOrProvinceName = NC
9
9
localityName = RTP
10
10
organizationalUnitName = kolla
11
- commonName = {{ kolla_external_fqdn }}
12
11
13
12
[v3_req]
14
13
subjectAltName = @alt_names
15
14
16
15
[alt_names]
17
16
{% if kolla_external_fqdn != kolla_external_vip_address %}
18
17
DNS.1 = {{ kolla_external_fqdn }}
19
- {% else %}
20
- IP.1 = {{ kolla_external_fqdn }}
21
18
{% endif %}
19
+ IP.1 = {{ kolla_external_vip_address }}
You can’t perform that action at this time.
0 commit comments