Hello there,
I'm tring to migrate my DA from CentOS 7 to CentOS 8
Right now everything is running on the CentOS 7 server.
After migrating i'm getting SSL errors
Current IP config:
CentOS 7 - xxx.xxx.xxx.152
CentOS 8 - xxx.xxx.xxx.199
Since i'm not managing all the domains, i need to re-use the xxx.xxx.xxx.152 IP so the xxx.xxx.xxx.199 is temporary (with a trial license)
So i did the following:
Now the problem starts.
Once I browse to the websites, every one of them gives me a certificate error.
It fetches/uses the web01.domain.com certificate when i browse to them.
Weirdest part is, for some reason ssllabs.com show me the correct certificate of the websites (but browsing to it shows me the web01.hostname.com)
Any idea what could be going on? I really want/need to migrate to CentOS 8
What i tried after step 11:
Kind regards,
Justin
I'm tring to migrate my DA from CentOS 7 to CentOS 8
Right now everything is running on the CentOS 7 server.
After migrating i'm getting SSL errors
Current IP config:
CentOS 7 - xxx.xxx.xxx.152
CentOS 8 - xxx.xxx.xxx.199
Since i'm not managing all the domains, i need to re-use the xxx.xxx.xxx.152 IP so the xxx.xxx.xxx.199 is temporary (with a trial license)
So i did the following:
- Restore the domains/website with "Admin Backups/Transfers" to the CentOS 8 machine.
- Succesfully checked if all website are working (edited windows hostfile to xxx.xxx.xxx.199, removed after tests)
- Turned off the old (CentOS 7) machine.
- Updated the IP of the (CentOS 8) machine to xxx.xxx.xxx.152 (edited ifcfg-ensxxx file)
- Rebooted the (CentOS 8) machine
- Updated the license
- cd /usr/local/directadmin/scripts
- ./getLicense.sh xxxx xxxxx
- Rebooted the (CentOS 8) machine
- Succesfully check if DirectAdmin is starting
- Swapped the IP
- cd /usr/local/directadmin/scripts
- ./ipswap.sh xxx.xxx.xxx.199 xxx.xxx.xxx.152
- Request hostname certificate and set it correctly
- cd /usr/local/directadmin/scripts
- ./letsencrypt.sh request_single web01.domain.com 4096
- cd /usr/local/directadmin
- ./directadmin set ssl 1
- ./directadmin set carootcert /usr/local/directadmin/conf/carootcert.pem
- ./directadmin set ssl_redirect_host web01.domain.com
- service directadmin restart
- Rebooted the (CentOS 8) machine
Now the problem starts.
Once I browse to the websites, every one of them gives me a certificate error.
It fetches/uses the web01.domain.com certificate when i browse to them.
Weirdest part is, for some reason ssllabs.com show me the correct certificate of the websites (but browsing to it shows me the web01.hostname.com)
Any idea what could be going on? I really want/need to migrate to CentOS 8
What i tried after step 11:
- Go to Reseller level and re-request a Let's Encrypt certificate for every website (someone suggested this, just in case)
- Saved the "private_html setup" just to try
Kind regards,
Justin
Last edited: