Jira (PUP-2173) puppet config set certname accepts upper-case names

409 views
Skip to first unread message

Sharon Fonge (JIRA)

unread,
Mar 13, 2015, 1:52:23 PM3/13/15
to puppe...@googlegroups.com
Sharon Fonge updated an issue
 
Puppet / Bug PUP-2173
puppet config set certname accepts upper-case names
Change By: Sharon Fonge
On CentOS 6 with Puppet 3.5.0, the certname subcommand accepts upper case letters for the certname. If you then try to change the name to lower-case, puppet complains and refuses to do so:

{code}
#
[sharon.fonge@puppetmaster ~]$ sudo  puppet  config set certname Jenny  cert list                                [sharon . I fonge@puppetmaster ~]$ puppet cert sign puppetclient . Got nal . Your usda . Number
# puppet config print certname centos6-master.localdomain
gov Error: Could not  initialize global default settings: Certificate names must be lower case; see #1168
# cat /etc/puppet/puppet
 find certificate request for puppetclient . conf local.org
[
main]
    # The Puppet log directory
sharon .
    # The default value is '
fonge@puppetmaster ~] $ vardir  sudo rm -rf / log'.
    logdir =
etc  / var/log/ puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir
/ run'.
    rundir =
ssl  /var/ run lib /puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir
/ssl '       [sharon .
    ssldir =
fonge@puppetmaster ~]  $ vardir/ssl
server = centos6
 sudo rm - master.localdomain
certname = Jenny.I.Got.Your.Number

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``
rf /etc/ puppet `` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir
/ classes.txt'.
    classfile = $vardir
ssl / classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir
usr / localconfig'.
    localconfig = $vardir
lib / localconfig

#
 puppet  config set centos6-master.localdomain
Error: Could not initialize global default settings: Certificate names must be lower case; see #1168
{code}
/ssl
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a)
Atlassian logo

Sharon Fonge (JIRA)

unread,
Mar 13, 2015, 1:53:23 PM3/13/15
to puppe...@googlegroups.com
Sharon Fonge updated an issue
On CentOS 6 with Puppet 3.5.0, the certname subcommand accepts upper case letters for the certname. If you then try to change the name to lower-case, puppet complains and refuses to do so:

[sharon.fonge@puppetmaster ~]$ sudo puppet cert list                                [sharon.fonge@puppetmaster ~]$ puppet cert sign puppetclient. nal local . usda.gov org            Error: Could not find certificate request for puppetclient.local.org
[sharon.fonge@puppetmaster ~]$ sudo rm -rf /etc/puppet/ssl /var/lib/puppet/ssl      [sharon.fonge@puppetmaster ~]$ sudo rm -rf /etc/puppet/ssl /usr/lib/puppet/ssl

Josh Cooper (Jira)

unread,
Oct 15, 2020, 2:35:03 PM10/15/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
On CentOS 6 with Puppet 3.5.0, the certname subcommand accepts upper case letters for the certname. If you then try to change the name to lower-case, puppet complains and refuses to do so:

{noformat}
[sharon.fonge@puppetmaster ~]$ sudo puppet cert list
                     [sharon.fonge@puppetmaster ~]$ puppet cert sign puppetclient.local.org
           Error: Could not find certificate request for puppetclient.local.org
[sharon.fonge@puppetmaster ~]$ sudo rm -rf /etc/puppet/ssl /var/lib/puppet/ssl

      [sharon.fonge@puppetmaster ~]$ sudo rm -rf /etc/puppet/ssl /usr/lib/puppet/ssl

{noformat}
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Oct 16, 2020, 3:59:03 PM10/16/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 16, 2020, 3:59:03 PM10/16/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Platform Core KANBAN

Josh Cooper (Jira)

unread,
Oct 16, 2020, 3:59:03 PM10/16/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.20.0

Josh Cooper (Jira)

unread,
Oct 16, 2020, 3:59:03 PM10/16/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 28, 2020, 4:17:03 PM10/28/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 29, 2020, 7:43:03 PM10/29/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-2173

Ran into PUP-10731. Depending on how difficult that is to resolve, I may skip validating that setting as part of this ticket.

Josh Cooper (Jira)

unread,
Oct 30, 2020, 7:59:03 PM10/30/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 7.0.0

Josh Cooper (Jira)

unread,
Nov 2, 2020, 12:30:03 PM11/2/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Previously, the "puppet config set" command could set a value that was invalid, which would cause puppet to fail the next time it ran or the service was restarted. Now the command validates the settings' value prior to committing the change to puppet.conf.

Claire Cadman (Jira)

unread,
Nov 10, 2020, 5:45:03 AM11/10/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages