d100904f2c
Generate both internal and external self signed TLS certificates. Duplicate the certificate if internal and external VIPs are the same. Change-Id: I16b345c0b29ff13e042eed8798efe644e0ad2c74 Partially-Implements: blueprint custom-cacerts
22 lines
443 B
Django/Jinja
22 lines
443 B
Django/Jinja
[req]
|
|
prompt = no
|
|
distinguished_name = req_distinguished_name
|
|
req_extensions = v3_req
|
|
|
|
[req_distinguished_name]
|
|
countryName = US
|
|
stateOrProvinceName = NC
|
|
localityName = RTP
|
|
organizationalUnitName = kolla
|
|
commonName = {{ kolla_external_fqdn }}
|
|
|
|
[v3_req]
|
|
subjectAltName = @alt_names
|
|
|
|
[alt_names]
|
|
{% if kolla_external_fqdn != kolla_external_vip_address %}
|
|
DNS.1 = {{ kolla_external_fqdn }}
|
|
{% else %}
|
|
IP.1 = {{ kolla_external_fqdn }}
|
|
{% endif %}
|