Hello HTTPS

Hello HTTPS

Well, that was a bit of a shit-show and is the reason why I’d been putting it off for so long.

Hey look, I got the green padlock!

In summary:

  • Grabbed an SSL cert using certbot, that all went smoothly.
  • DNS issues are what caused a major headache. I had been using Cloudflare for ‘flexible SSL’ whatever the fuck that means, and the DNS propagations took a long time to flow through from namecheap.

    To add additional crap, DNS caches on my local machine seemed particularly hard to clear (Ubuntu 14.04 aka trusty). They even persisted through a reboot. Pesky little things!
    Yes, I used dig which showed me my box was still looking at the old Cloudflare DNS

    So after all the DNS changes propagated, I still couldn’t open the site in my browser. Was it my firewall?

    Firewall was off. Oh shit! Is something listening on port 443?

    Yep.. here’s the gremlin.

    But that’s my webserver as I quickly confirmed

    Like a jackrabbit, I enabled the firewall and opened port 443

    Site came up-ish! BUT I DON”T UNDERSTAND WHY IT DIDN”T WORK IN THE FIRST PLACE.

  • Finally, all that was left to do was to upload my Deliciously Brainy WP Migrate DB Pro to do a search and replace on my WP DB for http -> https

Anyway – everything seems to be working now.

Did I mention I have 2 ‘A’ records?

Don’t judge me!

Things I learned

• chrome://net-internals/#dns
• https://dns.google.com is very handy! But their cache flush tool didn’t work for me.
• DNS_PROBE_FINISHED_NXDOMAIN is a shitty browser error.

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz