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.

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:
    1
    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:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey,

    The country code you are giving is invalid. Recheck it and try again.
     
  3. beetlejuice

    beetlejuice Member

    Joined:
    Feb 25, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey !

    It is good to know that the issue has been resolved. Cheers!
     
Loading...

Share This Page