FAQ: How To get your Dathorn hosted site SSL certified

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    #1

    FAQ: How To get your Dathorn hosted site SSL certified

    FAQ: How To get your Dathorn hosted site SSL certified


    If you need to put up online shopping site then you must encrypt communication with visitors to protect their private information, and especialy to protect theircredit card numbers typed on payment forms. To establish secured connection you must have certificate installed on your hosting server.

    However, it is not privacy and credit card numbers that only requres protection. If you have member access site you would like to protect it to prevent anyone to sniff usernames and passwords. Without secure connection, anything user types in your forms flow through internet as open text and someone interested and knowleadgable enough may read it.

    To install certificate you need to have dedicated IP for each domain. Dathorn provides IP addresses per request. First IP will be free, others must be payed.

    Go to www.dathorn.com, log in and use menu option "IP addresses". Click on request IP and enter requested data: domain you want to certificate, and reason (simply put: "I need IP to enable SSL on this site"). This will create Trouble Ticket with your request. You'll have to wait for some time for administrator response. They will provide you IP address.

    Then, go to WHM account (not cpanel). Find options regarding SSL certificates and use "Generate an SSL Certificate and Signing Request". It will ask You for some information, form is plain and easily understandable. Enter data, submit form and certificate request will be created (block of encoded data). Certificate request will be also sent to email address you specified. use it to obtain certificate from certificate provider.

    Provider will give you the certificate. Certificate is valid only for domain you specified. When you ask for certificate ask for standard one. Do not use chained or multidomain certificates. They do not work with Dathorn.

    Certificates are usualy not free. You may find certification providers using Google, but here are two that are used by other Dathorn users and they surely work:


    http://www.geotrust.com/

    There is also certificate provider that issues free certificates http://www.cacert.org/. Their policy is simple: they think certificates should not cost anything. However, as certificates must be trustable they found out a way to provide assured identification of the owner. They provide both assured and unassured certificates.

    https://cert.startcom.org/ also provides untrusted certificates which are not good for credit card processing but for protecting web admin access they are ok.

    You can create SSL certificate using OpenSSL but it will be unassured.

    What is the difference? Well, people who pay online will use your service only if you use assured certificate. This means it is known wko owns it and their transacion is protected not only by encryption means but also by name and responsibility of the certificate owner. In case of fraud or ony other problem, they know that there is someone who will be held responsible.

    If site uses unassured certificate, noone will dare to use credit card there. However, unassured certificates are ok if you need encryption for your internal purpose: to protect usernames and passwords or other information that may be shown on your site. For an example, you have administration section on your site which is password protected and you want to keep it off sight of anyone else.

    Well, let's go futher. You got your certificate no matter how and you want to install it.

    Login to your WHM account again and now use "Install an SSL Certificate and Setup the Domain". Important: use Internet Explorer. This option does not work with Mozilla. Yes it is outrageous but that is the way it is. You will get form where you provide your certificate and private key.

    Do this: in domain filed enter domain which for certificate is obtained. Then click on both Fetch buttons and form will be filled with information if it is already available on server. If not fill it in by hand. In upper field put your certificate which should look like this:

    -----BEGIN CERTIFICATE-----
    MIIDlkaasldfjljknkuahsydfkjhnakjsdfasdfknskjbhsiod uoetr78948yalw
    ecyn9aw8yul;awj0df89yabwy80fbasl08dyld890fyuavnw49 08yvalwvtawtas
    dfascTCCAtqgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBiDELMA kGA1UEBhMCY3Mx
    FAYDVQQDEw1pbmZvc3lzLmNvLnl1MR4wHAYJKoZIhvcNAQkBFg 9wZWRqYUB1emlj
    ZS5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKWucL NfGBsS4nPZdRKl
    7bcegapXs6xgTukvHqVEtugbuHHk0K4gVuGVYYdTe/7uLLdDX0Ei0Cbw2Xng1KZY
    DzANBgNVBAgTBlNyYmlqYTEOMAwGA1UEBxMFVXppY2UxEDAOBg NVBAoTB0luZm9z
    eXMxDjAMBgNVBAsTBVV6aWNlMRYwFAYDVQQDEw1pbmZvc3lzLm NvLnl1MR4wHAYJ
    BAMTDWluZm9zeXMuY28ueXUxHjAcBgkqhkiG9w0BCQEWD3BlZG phQHV6aWNlLm5l
    dIIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4GBADrL46wTZYSP8+D+
    mEsfidZ2LJbolH4U3SIot17RpboDhn1J8Dx8IK/ZDqN029OkPbn0tay3fMWlprIf
    FAYDVQQDEw1pbmZvc3lzLmNvLnl1MR4wHAYJKoZIhvcNAQkBFg 9wZWRqYUB1emlj
    fu6phTsDm4oHOvWUwyvYzY01AgMBAAGjgegwgeUwHQYDVR0OBB YEFMppm8/Qe/A8
    /7VNvYydI6NEpn1QMIG1BgNVHSMEga0wgaqAFMppm8/Qe/A8/7VNvYydI6NEpn1Q
    oYGOpIGLMIGIMQswCQYDVQQGEwJjczEPMA0GA1UECBMGU3JiaW phMQ4wDAYDVQQH
    EwVVemljZTEQMA4GA1UEChMHSW5mb3N5czEOMAwGA1UECxMFVX ppY2UxFjAUBgNV
    4Wk0XIyVd0uWd/RcCGU8Dpb78EqQ
    -----END CERTIFICATE-----


    In lower field put private key which should look like this:

    -----BEGIN RSA PRIVATE KEY-----
    MIICXAIBAAKBgQClrnCzXxgbEuJz2XUSpe23HoGqV7OsYE7pLx 6lRLboG7hx5NCu
    cgghhd48dh8s00nnlskduf0978345ljklkhowdf87;a;HGFi78 934i5julwekfwe
    AoGAF+Usw/H3HBCBMIwwYlwkCMERmmvDshzBxMfS96sNZjR5SZPitPpdDXPp +QaF
    wA6W3/NmhkN9lNd1EE3vFUvllk+AcXmZVp6XO+3H4Vh1qzjAtUt0xzJ4 lwJAKTGt
    /IuXSGJYTJ+1sCaezt2y6rHajzX3XkntuoguwoWDvHkhQJbxlAt uFbAgyYc12arW
    IFbhlWGHU3v+7iy3Q19BItAm8Nl54NSmWEoBrTKspvw5/NNoPZBaFByS5dKoJPAQ
    dfascTCCAtqgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBiDELMA kGA1UEBhMCY3Mx
    X6MiN9wzpMVMmBEsjHNsuAELyy6aDZFn3gG09Jx07qQPJUJaJ6 q2FohVr9UqCK7g
    fu6phTsDm4oHOvWUwyvYzY01AgMBAAGjgegwgeUwHQYDVR0OBB YEFMppm8/Qe/A8
    /7VNvYydI6NEpn1QMIG1BgNVHSMEga0wgaqAFMppm8/Qe/A8/7VNvYydI6NEpn1Q
    4Uc01+B/zy5rJ5Y4+QJBAItNH2aCJoJh9pfMHz74x5o2bJM1DBwiN/gcx5GqF8xq
    EApZvvnbpNELwUa0+Nfkls3lEHCWMD5AXJO5zhcV6Mc=
    -----END RSA PRIVATE KEY-----

    Enter domain name, username and Ip address provided by Dathorn and click "Do it" button.
    Server will show you process of certificate instalation and when it is finished check it by accessign site but using https: instead of http:. It should work and that is it.

    Now, change your scripts to force access via https: on pages which need to be protected.

    You have secured site access.
    Last edited by Pedja; 03-02-2005, 03:39 AM.
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #2
    Excellent FAQ! I've posted it in the FAQ forums if you don't mind.
    Also I think this should be under General, not FTP/SSH/Email
    "How can someone be so distracted yet so focused?"
    - C

    Comment

    • smh7233
      Junior Member
      • Nov 2004
      • 4

      #3
      Could you guys tell me if this one will work with dathorn. http://www.ev1servers.net/english/starterssldetails.asp

      Comment

      • Jonathan
        Senior Member
        • Mar 2004
        • 1229

        #4
        Originally posted by smh7233
        Could you guys tell me if this one will work with dathorn. http://www.ev1servers.net/english/starterssldetails.asp
        I believe that will; I think James here on the forums used it.
        If in doubt you can always submit a trouble ticket.
        "How can someone be so distracted yet so focused?"
        - C

        Comment

        • smh7233
          Junior Member
          • Nov 2004
          • 4

          #5
          Originally posted by Jonathan
          I believe that will; I think James here on the forums used it.
          If in doubt you can always submit a trouble ticket.

          Yep already got my answer...thanks.

          Comment

          • Byon
            Junior Member
            • Mar 2004
            • 18

            #6
            I've gone through the process above, but when I got to https://[mydomain], rather than getting what I get at http://[mydomain], I get :

            Index of /

            Name Last modified Size Description

            [DIR] Parent Directory 18-Feb-2005 15:37 -
            [DIR] _private/ 02-Apr-2003 18:32 -
            [DIR] cgi-bin/ 02-Apr-2003 18:32 -
            [DIR] images/ 02-Apr-2003 18:32 -
            [TXT] postinfo.html 02-Apr-2003 18:32 2k
            [DIR] suspended.page/ 23-Dec-2004 19:44 -

            Also, when I was entering the username in Install an SSL Certificate... Should I use my WHM name, or the cpanel username of the domain?

            Comment

            • AndrewT
              Administrator
              • Mar 2004
              • 3655

              #7
              Originally posted by Byon
              I've gone through the process above, but when I got to https://[mydomain], rather than getting what I get at http://[mydomain], I get :

              Index of /

              Name Last modified Size Description

              [DIR] Parent Directory 18-Feb-2005 15:37 -
              [DIR] _private/ 02-Apr-2003 18:32 -
              [DIR] cgi-bin/ 02-Apr-2003 18:32 -
              [DIR] images/ 02-Apr-2003 18:32 -
              [TXT] postinfo.html 02-Apr-2003 18:32 2k
              [DIR] suspended.page/ 23-Dec-2004 19:44 -

              Also, when I was entering the username in Install an SSL Certificate... Should I use my WHM name, or the cpanel username of the domain?
              You need to use the username of your domain. Not doing so will result in the problem you have described.

              Comment

              • Byon
                Junior Member
                • Mar 2004
                • 18

                #8
                Originally posted by AndrewT
                You need to use the username of your domain. Not doing so will result in the problem you have described.
                I re-ran the "Install A SSL Cert" script, this time using the username of the domain, but I get the same result. Once it is run once, can it not be re-run? Or do I need to re run the "Generate an SSL Cert" script as well? (I didn't because it didn't ask for the username)

                Comment

                • AndrewT
                  Administrator
                  • Mar 2004
                  • 3655

                  #9
                  Originally posted by Byon
                  I re-ran the "Install A SSL Cert" script, this time using the username of the domain, but I get the same result. Once it is run once, can it not be re-run? Or do I need to re run the "Generate an SSL Cert" script as well? (I didn't because it didn't ask for the username)
                  Please submit a trouble ticket with the full certificate information and we will get it installed it for you.

                  Comment

                  • Buddha
                    Senior Member
                    • Mar 2004
                    • 825

                    #10
                    Excellent FAQ!

                    Originally posted by AndrewT
                    Please submit a trouble ticket with the full certificate information and we will get it installed it for you.
                    I still think this is the best option especially if you find reading Pedja excellent FAQ hasn't helped you understand the cert install process.
                    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

                    Comment

                    • Klaassh
                      Member
                      • Mar 2004
                      • 62

                      #11
                      Somebody want to test these out here, or if they are no good make a short explanation why

                      Free SSL certificates!

                      Do you have a website or run even a web server and want to secure the traffic between your visitor's browser and the web site? Did you find out that, in order to make your site SSL aware, you'll need a SSL (Secure Sockets Layer) certificate? Were you also surprised to find out that such a certificate can cost you hundreds of dollars, and that they are only valid for one year? For what, you might ask yourself?

                      https://cert.startcom.org/index.php
                      A good friend will bail you out of jail
                      But your best friend will be sitting next to you,
                      saying "That was awesome!"

                      Comment

                      • baumer1122
                        Junior Member
                        • Apr 2004
                        • 19

                        #12
                        The problem is that they are not a trusted vendor by any browsers.
                        Did you get a warning message when you visited their https site?
                        So will everyone else.

                        If you are ok with that then you are fine. I would not give a credit card out to a site that isn't from a trusted vendor i.e. verisign, geotrust, etc.

                        Comment

                        • Pedja
                          Senior Member
                          • Mar 2004
                          • 329

                          #13
                          If you need certificate jut to protect internal stuff like admin access to site, then any certificate that works is ok.

                          Comment

                          • halyfax
                            Senior Member
                            • Mar 2004
                            • 124

                            #14
                            I was wndering if you have a form on your site, you install your ssl cert and put your form at https://www.domain.com/form.html

                            Now your form gets processed by a script in your cgi-bin and sent to your email.

                            Is the information encrypted if sent through the cgi-bin???

                            Comment

                            • halyfax
                              Senior Member
                              • Mar 2004
                              • 124

                              #15
                              Originally posted by halyfax
                              I was wndering if you have a form on your site, you install your ssl cert and put your form at https://www.domain.com/form.html

                              Now your form gets processed by a script in your cgi-bin and sent to your email.

                              Is the information encrypted if sent through the cgi-bin???
                              Should the action for the form be https://www.domain.com/cg-bin/form.pl ???

                              Comment

                              Working...