Skip to content
Snippets Groups Projects
Commit 826dfb45 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix usage of Subject Alternative Name for TLS"

parents 92e635bb 6409d626
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
-CA "{{ root_dir }}/root.crt" -CA "{{ root_dir }}/root.crt"
-CAkey "{{ root_dir }}/root.key" -CAkey "{{ root_dir }}/root.key"
-CAcreateserial -CAcreateserial
-extensions v3_req
-extfile "{{ kolla_certificates_dir }}/openssl-kolla-backend.cnf"
-out "{{ backend_dir }}/backend.crt" -out "{{ backend_dir }}/backend.crt"
-days 500 -days 500
-sha256 -sha256
......
...@@ -46,6 +46,8 @@ ...@@ -46,6 +46,8 @@
-CA "{{ root_dir }}/root.crt" -CA "{{ root_dir }}/root.crt"
-CAkey "{{ root_dir }}/root.key" -CAkey "{{ root_dir }}/root.key"
-CAcreateserial -CAcreateserial
-extensions v3_req
-extfile "{{ kolla_certificates_dir }}/openssl-kolla.cnf"
-out "{{ external_dir }}/external.crt" -out "{{ external_dir }}/external.crt"
-days 365 -days 365
-sha256 -sha256
...@@ -114,6 +116,8 @@ ...@@ -114,6 +116,8 @@
-CA "{{ root_dir }}/root.crt" -CA "{{ root_dir }}/root.crt"
-CAkey "{{ root_dir }}/root.key" -CAkey "{{ root_dir }}/root.key"
-CAcreateserial -CAcreateserial
-extensions v3_req
-extfile "{{ kolla_certificates_dir }}/openssl-kolla-internal.cnf"
-out "{{ internal_dir }}/internal.crt" -out "{{ internal_dir }}/internal.crt"
-days 365 -days 365
-sha256 -sha256
......
...@@ -8,7 +8,6 @@ countryName = US ...@@ -8,7 +8,6 @@ countryName = US
stateOrProvinceName = NC stateOrProvinceName = NC
localityName = RTP localityName = RTP
organizationalUnitName = kolla organizationalUnitName = kolla
commonName = {{ kolla_internal_fqdn }}
[v3_req] [v3_req]
subjectAltName = @alt_names subjectAltName = @alt_names
...@@ -16,6 +15,5 @@ subjectAltName = @alt_names ...@@ -16,6 +15,5 @@ subjectAltName = @alt_names
[alt_names] [alt_names]
{% if kolla_internal_fqdn != kolla_internal_vip_address %} {% if kolla_internal_fqdn != kolla_internal_vip_address %}
DNS.1 = {{ kolla_internal_fqdn }} DNS.1 = {{ kolla_internal_fqdn }}
{% else %}
IP.1 = {{ kolla_internal_fqdn }}
{% endif %} {% endif %}
IP.1 = {{ kolla_internal_vip_address }}
...@@ -8,7 +8,6 @@ countryName = US ...@@ -8,7 +8,6 @@ countryName = US
stateOrProvinceName = NC stateOrProvinceName = NC
localityName = RTP localityName = RTP
organizationalUnitName = kolla organizationalUnitName = kolla
commonName = {{ kolla_external_fqdn }}
[v3_req] [v3_req]
subjectAltName = @alt_names subjectAltName = @alt_names
...@@ -16,6 +15,5 @@ subjectAltName = @alt_names ...@@ -16,6 +15,5 @@ subjectAltName = @alt_names
[alt_names] [alt_names]
{% if kolla_external_fqdn != kolla_external_vip_address %} {% if kolla_external_fqdn != kolla_external_vip_address %}
DNS.1 = {{ kolla_external_fqdn }} DNS.1 = {{ kolla_external_fqdn }}
{% else %}
IP.1 = {{ kolla_external_fqdn }}
{% endif %} {% endif %}
IP.1 = {{ kolla_external_vip_address }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment