SSL cert DNS missing value
Tried to clear the Puppet Master certificate, following the link: https://docs.puppet.com/puppet/4.5/sslregeneratecertificates.html
When run the following command, gets the DNS error:
$ sudo puppet master --no-daemonize --verbose
Info: Creating a new SSL key for puppet-master.local,puppet-master,puppet Info: csrattributes file loading from /etc/puppet/csrattributes.yaml Info: Creating a new SSL certificate request for puppet-master.local,puppet-master,puppet Error: Could not run: subjectAltName = DNS:puppet, DNS:puppet-master, DNS:puppet-master.local, DNS:puppet-master.local,puppet-master,puppet: missing value
Note: /etc/puppet/csr_attributes.yaml is empty!
Where else should I look at to resolve this error?