openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

console certificate subject alt names #81

Open akostadinov opened 7 years ago

akostadinov commented 7 years ago

Starting cluster like:

export OC_CLUSTER_PUBLIC_HOSTNAME=`hostname`
/root/oc-cluster-wrapper/oc-cluster up --version=latest

The generated console web server certificate is setup only for the local IP address. It needs to have SubjecAltNames field with the IP and the hostname of the machine such that certificate can be trusted in Firefox and Chrome which require SunjectAltName now.