Skip to main content

n00b question about free certs

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! The SSL certificate itself needs to be on the server that is serving the web content. There is an entry in the Apache configuration specifying where the certificate is located. If the site was migrated from serverA to serverB it's possible the certificate files were moved as well. There wouldn't be a tool that pulls the SSL from the wild - you have to have the private key as well in order for the SSL to work, and that is only stored on the local server.
    0
  • Graham Bentley
    Thanks, that explains it, mostly. I just don't know how the new host imported the private cert from the old host? Perhaps there is a standard protocol between web hosts that they agree to?
    0
  • cPRex Jurassic Moderator
    That's correct - you can get the SSL issued for a few different server types, but as long as it works with Apache it will likely be able to be moved to another host.
    0
  • Graham Bentley
    Finally found what was throwing me off the scent on this. When I moved hosts last time I was a bit impatient waiting for DNS propagation so I added the new hosts IP and the FQDN into /etc/hosts so my machine would resolved to the new hosts and not the old one. Unknown to me [it's been a long time!] this was still present on my machine so even though I had done everything correctly I was seeing the site still as it was, and of course the existing certificate in place! I did not realise this until I told the old host they where free to delete the service! I also did not realise that the IP for the A record was not actually pointing at the WebDevs servers but was actually on the old host! So essentially the website disappeared!!! Then WebDevs told me they no longer maintained the site and did not have backups - Aggh! Fortunately the old hosts where good enough to restore the service from backup otherwise my life would of been over lol! So I wasted a few hours downloading then uploading the website and same with the SQL schema etc In the end I got it all back working with the new host and with the SSL Now cert. The lesson: check, check and double check. Make notes with dates. Make backups. Never ever do anything in a hurry!
    0

Please sign in to leave a comment.