The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to reset certificate or change hostname from shell

Discussion in 'Security' started by speckados, May 9, 2017.

Tags:
  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    303
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    I've use a templates for create my new VPS (KVM)

    But now has a problem, because on template server certificate (Free) it's outdated.

    My config it's secure, and when try access, send to hostname (hostname it's name of template and not actual name)

    On this point, I can't access to WHM

    I like reset hostname and recreate SSL certificate or not force to move access to hostname for access to WHM interface and change hostname.

    Apreciate help.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The set_hostname utility will allow you to make the change via the command line:

    The set_hostname Utility - Documentation - cPanel Documentation

    Per this document:

    More information on the free hostname SSL certificate is available at:

    Free cPanel-Signed Hostname Certificate - cPanel Knowledge Base - cPanel Documentation

    Thank you.
     
  3. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    303
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Thanks.

    Also I need run fater, /usr/local/cpanel/bin/checkallsslcerts because command set_hostname not work properly when change certificate.
     
Loading...

Share This Page