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.

SSL on whm

Discussion in 'General Discussion' started by pitreq, Feb 16, 2004.

  1. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    SSL on whm (problem with install)

    When i have a install a SSL to account i see: Sorry that is not a valid certificate
    or
    What is the problem? What can i do? Sorry about my english :)
     
    #1 pitreq, Feb 16, 2004
    Last edited: Feb 18, 2004
  2. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    Please help me :(
     
  3. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    you are not using the correct matching key and crt
     
  4. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    How can i get a good key?
     
  5. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    where did you get the current keys from ?

    you need to generate csr ( Certificate Signing Request ) from whm and purchase crt from sites like geotrust, thawt, verisign etc.
     
  6. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    ok i will receive two mail in first:

    -----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQC82Xy6V2F/DW1p3C6TYWZPNgTbBX2anau6tW6iy6TmuIVl3OO5
    xkoOYGuPjnV7X216ZUIgOx+wgIsO/7NSS/cArymvqVTCPzU52kW1+ZXNUCL2moXV
    RyQqOugd2opaOj3aNSpMfPaBUvNMcVDc6XnhjwcEA2u0nDiLI5JJmfVMMQIDAQAB
    AoGAKIMTcboLDUFpJlt4ll8/nmB9PCr6Xe/TBjOjr0K2dlRBMa/oHlM+UcU3bc1m
    wHehOa99NwLX8now2p/Z7R6ktt97GpmSDUS3MlVaJVQHKAMGi2qscGzd5cW7UTGl
    tbN9JaWA/eGr6c2E82+LbxlCOuCQMErvA4IyiSZCQLPX2v0CQQDitfaPVoWSmygh
    A55WKu81HNmNZCaq8hLCU8374Igr5ef9HfgyzPoUa1mO+wDD2ivN/WILI2WfPRkn
    h7cXsRWzAkEA1T9VmGykFlU4Xw91gKEl2Hpn+i28D53SkzMBK9WypFVpo8dwC9rW
    s0qfKx55iGIkmIonfnoeyQNSy9pftD1siwJAGI3QqHGcgeZgEENOENMRmVUIkvG3
    5mfVdEqTUqZc2TRLTfTC/u2IYFHIH148FPo6KFM7HS22QeriII/oWp6JVQJBAIuq
    NnplNTb3S7te2ZuMb8gPq4f8aj5kJGWKM0stZBojYtQErErnYlT9G7BW/kwn00Yg
    veslOoJ27cRb2vCmhi8CQDRCO6Qr2ipRK7CM3qjL+a3xPrLa23lZsVjeE4VExWJT
    lwA94PF/fvGJ5psRfxxacckNhh5WZQbNd8amnJU8bgU=
    -----END RSA PRIVATE KEY-----

    at second:

    -----BEGIN CERTIFICATE REQUEST-----
    MIIB6TCCAVICAQAwejELMAkGA1UEBhMCcGwxCzAJBgNVBAgTAnFzMQwwCgYDVQQH
    EwNxc3ExEDAOBgNVBAoTB1pBQkFXS0kxDDAKBgNVBAsTA3FzYzEZMBcGA1UEAxMQ
    emFiYXdraS5pc2Vydi5wbDEVMBMGCSqGSIb3DQEJARYGcGl0cmVxMIGfMA0GCSqG
    SIb3DQEBAQUAA4GNADCBiQKBgQC82Xy6V2F/DW1p3C6TYWZPNgTbBX2anau6tW6i
    y6TmuIVl3OO5xkoOYGuPjnV7X216ZUIgOx+wgIsO/7NSS/cArymvqVTCPzU52kW1
    +ZXNUCL2moXVRyQqOugd2opaOj3aNSpMfPaBUvNMcVDc6XnhjwcEA2u0nDiLI5JJ
    mfVMMQIDAQABoC8wFQYJKoZIhvcNAQkHMQgTBlRkM1RWNDAWBgkqhkiG9w0BCQIx
    CRMHWkFCQVdLSTANBgkqhkiG9w0BAQQFAAOBgQAc0BmP74KptOLgfwpuQzx8BXkf
    XlbScnUc3peVuVpboXgiQgzbwmPOqQuoPFWtVqi34MBtw7nRZW11RzFt/rIjeTPX
    wWh4H5lNBTvDLtJhAe2vN7spQMAV/Qga2qTsuul6/rgH2+6b9hvaaAC4ikZ4igy2
    ghyyLDXsbcCEfCDb+A==
    -----END CERTIFICATE REQUEST-----

    Than i do?
     
  7. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    for further instructions, visit any of the above mensioned sites.

    Ex. Geotrust.com
     
  8. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    what i must do on this site?
     
  9. Jemshi

    Jemshi Well-Known Member

    Joined:
    Sep 11, 2003
    Messages:
    210
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Go read the install instructions :-\
     
  10. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    another helpful hint, although it may not solve your problem....

    When you paste the code back into your WHM, avoid leading/trailing blank lines.
     
  11. pitreq

    pitreq Member

    Joined:
    Feb 16, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    poland
    The crt may already be on the server.
    You can try to it or paste the entire .crt file here:

    that must see a atomaticaly but when i click fetch dont work :(
     
  12. Tina

    Tina Well-Known Member

    Joined:
    Jan 27, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    same problem here

    I used an existing crs to generate a crt from a different provider and when I plugged the crt in with the existing original key I got modulus mismatch (key does not match)...

    Any help would be really appreciated... Cause whm refuses to delete and reissue a new csr.

    Sincerely,
    Tina
     
  13. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Tina,

    You may want to look in

    /usr/share/ssl/certs

    To remove it or see if it exist.
     
  14. Tina

    Tina Well-Known Member

    Joined:
    Jan 27, 2003
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    HI,

    Thank you for answering! Actually I did that. I took the entries out of both places and checked httpd.conf and the httpd.conf-instant-ssl... too. Deleted everything I could find, restarted apache, logged out of my browser and back in, and it still wouldn't give me one... Just a Blank Screen

    I did find another post which indicated the script, so I did it manually through ssh, obtained the new crt and used whm to install it. It worked.

    /scripts/gencrt

    WHM isn't fixed but there is a definite work around that works with whm/cpanel, so I'm pretty happy about it. I have been working on this since last night. Read a lot of posts... :rolleyes:

    Tina
     
  15. deborahgsmith

    deborahgsmith Member

    Joined:
    May 18, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    SE Michigan
    Thanks Tina!

    I am happy that you posted this for us. Helped me out tremendously!

    Deborah
     
Loading...

Share This Page