Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    May 2004
    Location
    CA
    Posts
    17

    Default IP and SSL installation help

    Hi, I recently purchased an SSL and also reserved an IP for the site that the SSL is going on.

    https://secure.domainname.com

    Yet, although I addes the new IP in the "IP Functions" panel, and the SSL Manager shows secure.domainname.com in there, the website still points to my main shared IP.

    How do I fix this so that https//secure.domainname.com points to the new IP?

    Any assistance would really be appreciated.

    Thank you,

    GR

  2. #2
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default Re: IP and SSL installation help

    Originally posted by netricks
    Hi, I recently purchased an SSL and also reserved an IP for the site that the SSL is going on.

    https://secure.domainname.com

    Yet, although I addes the new IP in the "IP Functions" panel, and the SSL Manager shows secure.domainname.com in there, the website still points to my main shared IP.

    How do I fix this so that https//secure.domainname.com points to the new IP?

    Any assistance would really be appreciated.

    Thank you,

    GR
    if you purchased a standard website SSL certificate, this won't work. What you need with this type of setup is a wildcard SSL cert, which works with *.domainname.com, otherwise with a standard SSL cert it has to be either www.domainname.com or domainname.com.... but believe me, those wildcard Certs aren't cheap!!

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  3. #3
    Member
    Join Date
    May 2004
    Location
    CA
    Posts
    17

    Default

    Thank you Mickalo for the speedy responce. I appreciate your input. I am always amazed at how well others know this stuff.

    I don't think the issue is with working at https://secure.domainname.com, but rather, how to assign its own ip address to https://secure.domainname.com.

    Although I haven't set the nameservers to go live with the site yet, I believe the ssl is working, but it is working on the wrong IP.

    I just purchased a sslpro for e-commerce usage. In the SSL manager it shows secure.domainname.com.key, and secure.domainname.com.crt. So I was assuming that it was the proper SSL. Am I misled on that issue?

    Thank you again.

    GR

  4. #4
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Originally posted by netricks
    Thank you Mickalo for the speedy responce. I appreciate your input. I am always amazed at how well others know this stuff.

    I don't think the issue is with working at https://secure.domainname.com, but rather, how to assign its own ip address to https://secure.domainname.com.

    Although I haven't set the nameservers to go live with the site yet, I believe the ssl is working, but it is working on the wrong IP.

    I just purchased a sslpro for e-commerce usage. In the SSL manager it shows secure.domainname.com.key, and secure.domainname.com.crt. So I was assuming that it was the proper SSL. Am I misled on that issue?

    Thank you again.

    GR
    As far as I know, a standard SSL cert, a webserver cert will only work with a FQDN, what you have would require a wildcard cert, but you can double check with the people whom you purchased from. But I've been working with SSL certs for about 3yrs, and I think you'll need to purchase a wildcard cert if you want it to work like you have it now,... but I could be wrong

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  5. #5
    Member
    Join Date
    May 2004
    Location
    CA
    Posts
    17

    Default

    But what about my IP question? In WHM, how do I assign an IP to a URL?

    Thank you,

    GR

  6. #6
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Standard certificates do work with secure.domain.com. That's how I have 3 set up on my server.

    I'm assuming your domain.com site is using a shared IP. If so, you need to delete the subdomain entry from cpanel and create secure.domain.com as a seperate site in WHM with it's dedicated IP. That's how I did secure.premierwebsitesolutions.com on my previous server. The domain was on a shared IP and the secure subdomain was a seperate account with a ded IP. When I upgraded to a better server a few months ago, I decided to put the whole domain on a ded IP.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  7. #7
    Member
    Join Date
    May 2004
    Location
    CA
    Posts
    17

    Default

    Is there a way to change the IP of an SSL after it is already installed?

  8. #8
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    I'm not sure. I think that question was asked before and never got an answer. Someone must have changed an IP address and they would know if it worked or not.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  9. #9
    Member
    Join Date
    Feb 2004
    Posts
    105

    Default

    I'm not sure about how to change the ip in whm, but you can do it via an SSH terminal.

    ssh to your server and edit the httpd.conf by typing:

    pico /usr/local/apache/conf/httpd.conf

    Now, look for an entry like: ip:443
    where ip is the current ip for ssl. e.g 192.168.0.1

    You can search by typing:

    Ctrl + w hold Ctrl and w
    and then type 192.168.0.1:443
    Hit return

    Again, I'm assuming the ip is 192.168.0.1.

    Now, you should see somthing like:

    <IfDefine SSL>
    <VirtualHost 192.168.0.1:443>
    ServerAdmin webmaster@www.yourdomain.com
    DocumentRoot /home/username/public_html
    ServerName secure.mydomain.com
    ....

    change the ip to whatever you want and type the following commands/keys:

    Ctrl + o
    hit return
    Ctrl + x
    hit return
    /etc/rc.d/init.d/httpd restart
    hit return

    That is: Ctrl and "oh", Ctrl and "x" and the final command will restart apache.

    I hope this will work for you

  10. #10
    Member
    Join Date
    May 2004
    Location
    CA
    Posts
    17

    Thumbs up

    Thank you for the info. I really didn't think it could be done and I was goingot buy another one. I will give it a try.

  11. #11
    Member
    Join Date
    Feb 2004
    Posts
    105

    Default

    It would be useful for other users, including me, to know the outcome.

    I personally believe you don't need to buy another certificate. Usually a reinstall will do.

    Good luck

Similar Threads & Tags
Similar threads

  1. ssl installation
    By ljwhite in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-21-2006, 12:39 AM
  2. ssl installation
    By ljwhite in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-20-2006, 05:22 AM
  3. SSL installation
    By adapter in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-22-2004, 07:01 AM
  4. SSL Installation
    By Markwaugh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-15-2003, 02:18 AM
  5. SSL Installation
    By Kiwi in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 01-24-2002, 07:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube