{"id":19,"date":"2015-07-08T03:53:01","date_gmt":"2015-07-08T03:53:01","guid":{"rendered":"http:\/\/confusedlot.com\/?p=19"},"modified":"2015-12-13T23:17:04","modified_gmt":"2015-12-13T23:17:04","slug":"enabling-ssl-part-1","status":"publish","type":"post","link":"https:\/\/confusedlot.com\/index.php\/2015\/07\/08\/enabling-ssl-part-1\/","title":{"rendered":"Enabling SSL part 1"},"content":{"rendered":"<p>Today I&#8217;m going to try to get SSL working on this site. \u00a0This is tricky because:<\/p>\n<ol>\n<li>I don&#8217;t have an SSL certificate for confousedlot.com<\/li>\n<li>I don&#8217;t want to purchase a certificate for confousedlot.com<\/li>\n<\/ol>\n<p>However, I do have a wildcard certificate for *.faidley.org and the two domains are hosted on the same host.<\/p>\n<p><strong>Try 1<\/strong><\/p>\n<p>I was hoping I could provide word press with an alternative url for the secure portion of the site (user log in and admin pages). \u00a0<strong>However<\/strong>, word press does not seem to\u00a0provide this functionality.<\/p>\n<p><strong>Try 2<\/strong><\/p>\n<p>The confused lot page lives in a sub directory of faidley.org&#8217;s public html so I should be able to navigate it to through that structure. \u00a0In theory\u00a0http:\/\/www.faidley.org\/confusedlot.com\/ should also be the home page of confusedlot.com. \u00a0<strong>However<\/strong>, word press must be doing some magic since it reports a 404 when I access that page. \u00a0At some point<\/p>\n<figure id=\"attachment_20\" aria-describedby=\"caption-attachment-20\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"\/\/confusedlot.com\/wp-content\/uploads\/2015\/07\/404Image.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-20\" src=\"\/\/confusedlot.com\/wp-content\/uploads\/2015\/07\/404Image-300x197.png\" alt=\"Page did not work\" width=\"300\" height=\"197\" srcset=\"https:\/\/confusedlot.com\/wp-content\/uploads\/2015\/07\/404Image-300x197.png 300w, https:\/\/confusedlot.com\/wp-content\/uploads\/2015\/07\/404Image-1024x671.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-20\" class=\"wp-caption-text\">Page did not work<\/figcaption><\/figure>\n<p><em>Edit:\u00a0Word press decided to delete the second half\u00a0of my post. \u00a0So\u00a0the rest was missing the first time I posted this. \u00a0I actual did figure out what happened and will post about it soon.<\/em><\/p>\n<p><strong>Try 2.5<\/strong><\/p>\n<p>Well I don&#8217;t really need the whole of the site to be SSL enable but I really would like the back end. \u00a0So lets try the faidley.org path for that.\u00a0http:\/\/www.faidley.org\/confusedlot.com\/wp-admin\/ That appears to work,\u00a0<strong>however<\/strong>, wordpress actually does a redirect on that back to confusedlot.com so this will not work either.<\/p>\n<p><strong>Keep trying<\/strong><\/p>\n<p>I will have to keep trying on this one. \u00a0I&#8217;m pretty sure I could move the whole site to a default faidley.org location and use a redirect on confusedlot but then all users looking in the address bar would see a faidley.org address. \u00a0I would also like to investigate to see if there are any plug-in that do what I need. While my particular need is a little unusual it should be the same as someone trying to use their hosts SSL certificate with their hosted domain.<\/p>\n<p><em><strong>&#8217;til next time, keep trying<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;m going to try to get SSL working on this site. \u00a0This is tricky because: I don&#8217;t have an SSL certificate for confousedlot.com I don&#8217;t want to purchase a certificate for confousedlot.com However, I do have a wildcard certificate for *.faidley.org and the two domains are hosted on the same host. Try 1 I &hellip; <a href=\"https:\/\/confusedlot.com\/index.php\/2015\/07\/08\/enabling-ssl-part-1\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Enabling SSL part 1<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/posts\/19"}],"collection":[{"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":5,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/confusedlot.com\/index.php\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}