KB#0263 Change the hostname of a monolithic master in Puppet Enterprise 2017.3.x and 2018.1.x

Comments

7 comments

  • Avatar
    Jeff Reitmayer

    Yeah this didn't work for me. I ran these commands and I'm getting errors when i click on jobs in my puppet enterprise console 

    Error retrieving jobs: Unexpected error 500 occurred - Host name 'XXXX.XXX' does not match the certificate subject provided by the peer (CN=XXX.XXX)

     

    pemaster puppetserver: Exception in thread "main" java.lang.IllegalArgumentException: Unable to open 'ssl-cert' file: /etc/puppetlabs/puppet/ssl/certs/puppetenterprise.dsa.reldom.tamu.edu.pem

  • Avatar
    Suzie Baunsgard

    Hi, it looks like you're working with someone on this issue. I am sorry it didn't help you, but based on your outcome we'll try to make this better for the next person. 

  • Avatar
    Jeff Reitmayer

    So when do you change your host name on a CentOS7 Box? Before I do all this or at the end?

     

  • Avatar
    Jeff Reitmayer

    So trying to make this work, this KB worked fine until you reboot the box then i get SSL errors. 

     


    2018-07-27 07:54:50,930 ERROR [pool-9-thread-4] [p.t.s.s.scheduler-core] scheduled job threw error
    javax.net.ssl.SSLPeerUnverifiedException: Host name 'pemaster.not.this.com' does not match the certificate subject provided by the peer (CN=puppetenterprise.not.this.com)

  • Avatar
    Suzie Baunsgard

    Hi Jeff, updated steps posted. I hope this helps, please let us know in the ticket.

  • Avatar
    Jeff Reitmayer

    Posted in the ticket. Still broke for me. 

  • Avatar
    Suzie Baunsgard

    I'm sorry to hear that, as things get resolved with you, we'll try to make this set of instructions work.

Please sign in to leave a comment.