how can i add SSL?

Discussion in 'Programming' started by i_am_dhaval, Jul 22, 2009.

  1. #1
    whole site is ready

    i have SSL certificate

    how can i add this..

    what is the effect of SSL for site?
     
    i_am_dhaval, Jul 22, 2009 IP
  2. stOK

    stOK Active Member

    Messages:
    114
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    You have to install SSL support on your webserver (may be it's already done)
    Then you must configure your webserver to use your server SSL certificate and private key.
    Then your users will be able to connect to your server using https://

    All data exchange using https:// between client and server will be encrypted.
     
    stOK, Jul 22, 2009 IP
  3. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #3
    if they type http:// then? (without s) mens after adding SSL
     
    i_am_dhaval, Jul 22, 2009 IP
  4. stOK

    stOK Active Member

    Messages:
    114
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    If they type just http:// they will use unencrypted connection
     
    stOK, Jul 22, 2009 IP
  5. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #5
    is it possible if they type http:// then it redirect automatically https:// ?
     
    i_am_dhaval, Jul 22, 2009 IP
  6. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    On most hosts (especially cpanel/whm based) , the content of https:// address is in private_html and not the public_html folder. It's essentially another domain (or subdomain), that runs off port 443 instead of port 80.

    SSL can only be used over a secured connection otherwise what's the point of verification, the SSL certificate does not make your connection secured or encrypted but instead aids in the assistance of ownership verification, so when a user visits https://www.yoursite.com the SSL certificate makes the padlock (depending on browsers) show that the domain name and the certificate matches, and as such should be secure and not a phishing attempt.

    You also need a unique IP for your https:// address in order for the certificate to be valid. Meaning the domain cannot share the same IP as other domains on your server (which means using an SSL connection on a shared hosting provider is rather unlikely).
     
    kblessinggr, Jul 22, 2009 IP
  7. stOK

    stOK Active Member

    Messages:
    114
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    Yes. This can be done through 302 redirect which can be set up in .htaccess
    On your secure version of site use relative links to avoid accidentally users to degrade to insecure communication.
     
    stOK, Jul 22, 2009 IP
  8. G705

    G705 Active Member

    Messages:
    113
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #8
    Well its kind of a long process so if you need help hire someone to do it for you
     
    G705, Jul 22, 2009 IP
  9. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #9
    why people use SSL if already give password protected login?
     
    i_am_dhaval, Jul 22, 2009 IP
  10. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Because a password protected login alone does not actually encrypt the communication to and from the server itself. Without it, its possible for the communication to become intercepted. Kinda like someone watching over your shoulder as you use the ATM.
     
    kblessinggr, Jul 22, 2009 IP
  11. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    If you need help, let me know. You will need a dedicated IP and a purchased ssl. If you are on a cPanel host, provide them with the ssl info and they should install it.

    Also, you can make the redirect as many others have said in .htaccess.
     
    SecureCP, Jul 23, 2009 IP
  12. i_am_dhaval

    i_am_dhaval Well-Known Member

    Messages:
    1,364
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    138
    #12
    is the separate ip is must for SSL?

    if i running 3 site in my dedicated server using same Ip so it's no possible with same ip?
     
    i_am_dhaval, Jul 23, 2009 IP
  13. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #13
    1 domain = 1 ip

    Otherwise the SSL certificate is somewhat pointless. IF you have a dedicated server, and its on a cpanel/whm setup, you could always put the other domains on their own IP (assuming your host provided you with more than 1 or 2). The certificate is a way of authenicating with a browser that your site and the IP it's on is unique and truly the site visitor's are expecting (especially since it can do a reverse dns lookup, and if the site you got the SSL for, doesn't show up in the reverse lookup, its not considered valid).
     
    kblessinggr, Jul 24, 2009 IP