Migration from ISCP with SSL Hack listen on 8443 not working in IMSCP

  • Hi guys, i ran 1.07 ISCP until this week, I was a happy user of that project all the way back to the VHCS days, and I really waited and watched to decide whether to come with you guys or the EASYSCP folk. I'm confident I went with the right fork.


    Ubuntu 12.04
    IMSCP 1.1.0-rc1.3


    With that said my ISPCP box used the mod in their howto for SSL to listen on port 8443, I have a godaddy Turbo SSL certificate and use it for 2 domains.


    I copied the contents of my 00_master.conf from ISPCP 1.07 into the 00_master.conf of IMSCP but apache will not start, /var/log/apache2/error.log yields no log entries. I did find the wiki article


    http://wiki.i-mscp.net/doku.ph…nel_on_port_8443_with_ssl which looks like the mod i used, is there something fundamentally different about 1.07 ispcp and IMSCP 1.1.0-rc1.3 that you might be able to point out to help me fix my problem or give me some advice to point me in the right direction?


    I am unclear for the docs on using your own SSL certificates within IMSCP and the forums tend to say you can only use one ip per SSL domain, which my turbo ssl certificate allows me 5 domains, so thats the direction i want to go. Where Should I start


    Here is my old ispCP 1.07 master.conf that worked like a champ:


    I of course did a global replace on all ISPCP to imscp for path references:
    so 2 questions why am i not getting log entries for apache and any thoughts on why this doesn't work:



    Thank you very much for continuing with this fantastic control panel!

  • Maybe you should do a normal migration and add after successfull migration the Certificate to the Domain.


    i don't know the SSL Patch for ispCP, because i never used.


    Do you use the cert on a Domain?

    Edited once, last by xorg ().

  • Hello ;


    First, welcome in our community.


    I would recommend you to follow the normal update path (from ispCP to i-MSCP) using the migration script and then restore your exotic configuration after. Of course, we can provide you free support if you get wrong.


    Thanks you for using i-MSCP.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206


  • Maybe you should do a normal migration and add after successfull migration the Certificate to the Domain.


    i don't know the SSL Patch for ispCP, because i never used.


    Do you use the cert on a Domain?


    I did the normal migration per the wiki from 1.07 to 1.1.0-rc1.3 , and of course that overwrote the 00_master.conf with the imscp version (which is what is currently running)


    I used open ssl to generate a new CSR then rekeyed by certificate with godaddy I have one certificate gd_bundle.crt and mydomain.crt from Godaddy, which is a wildcard SSL Cert, which i have dropped into /etc/ssl/


    Is there an article that describes how to integrate those .crts into IMSCP?


    Thanks for the super fast reply!


    David


  • It's the certificate for the panel access ? If yes, you must run the imscp_setup script with the --reconfigure option as follow:


    Code
    1. # cd /var/www/imscp/engine/setup
    2. # perl imscp-setup --debug --reconfigure


    And then, when you are asked about SSL, you answer yes and say that you have your own certificate. After, the installer will ask you about your certificate information.


    Thanks for using i-MSCP.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().

  • Code
    1. # cd /var/www/imscp/engine/setup
    2. # perl imscp-setup --debug --reconfigure


    And then, when you are asked about SSL, you answer yes and say that you have your own certificate. After, the installer will ask you about your certificate information.


    Thanks that did the trick, that was pretty dang painless! Last question the Control Panel is running over SSL but my turbo Cert is untrusted on my other domain. Where is the file i need to edit for my virtual host to listen for that certificate? Do I need a seperate IP address for Each domain on SSL Wildcard Certificates? I just went ahead and assumed it best to have an one ssl per ip address, like i did in ISPCP. I put my panel on x.x.x.61 and mydomain.com on x.x.x.62


    Everything works fine admin.controlpanel.com (x.x.x.61) its https:// however when i navigate to mydomain.com works and https://mydomain.com does not, I'm thinking i just need to put another virtual host entry in the 00_master.conf ?



    David

    Edited once, last by Shinzan ().

  • [quote='Shinzan','http://migration.i-mscp.net/index.php/Thread/?postID=9278#post9278']

    Code
    1. # cd /var/www/imscp/engine/setup# perl imscp-setup --debug --reconfigure


    Well I went ahead and just manually added a virtual host entry to 00_master_ssl.conf and it looks like this:


    My base IP is x.x.x.61 btw



    But after doing that mydomain.com redirects to my x.x.x.61 admin.controlpanel.com Any thoughts as to why this redirect is happening it seems like anthing on 443 is being hijacked however chrome does not report a redirect (and it would if there was a redirect) Whats going on here?


    Thanks!!!


    David

  • may some dns missmatch


    on your .61 ip i find 12 domains (not your normal domain)
    on your .62 ip i find 1 domain (not your normal domain)


    a ping to your admin.domain.tld leads to your mail. domain.tld
    a ping to your domain.tld leads to your mail.domain.tld


    in chrome your admin.domain.tld shows up under https with a godaddy class2 cert (green)
    in chrome your domain.tld shows up under https a self signed cert (red)


  • I don't undertand what kind of dns mismatch could occur I am using the exact box i used for ispCP 1.07 my .62 resolves to the correct addresss on www. it only redirects wierdly on https://www.


    also domain.tld should be red (only https://admin.domain.tld is on the certificate) along with https://mydomain1.tld (on x.x.x.62 with a problem ) and https://myotherdomiain2.tld (x.x.x.61 which also works no problem)


    Any other thoughts?


    David

    Edited once, last by Shinzan ().