Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

An error occurred: [CODE: -2022] [MESSAGE: CSR country code invalid.]

Discussion in 'Security' started by beetlejuice, Mar 7, 2011.

  1. beetlejuice

    beetlejuice Member

    Joined:
    Feb 25, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    HI,

    totally new to Cpanel (coming from Plesk) and I'm trying to generate an SSL cert for my server.
    Once I've "Generated an SSL & Signing Request", I paste the code into my SSL vendors CSR area and it returns :

    An error occurred: [CODE: -2022] [MESSAGE: CSR country code invalid.]

    I haven't been able to find much on the web that is clear as to why I get this error. I never had a problem generating requests with Plesk.

    Has anyone seen this error before or have some ideas?

    Thanks
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    5
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hey,

    The country code you are giving is invalid. Recheck it and try again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. beetlejuice

    beetlejuice Member

    Joined:
    Feb 25, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Thanks for replying.

    The code was incorrect. CPanel created Au for Australia, where it should be AU. Something I wasn't aware of but am now:)
     
  4. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    5
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Hey !

    It is good to know that the issue has been resolved. Cheers!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice