{"id":181,"date":"2014-10-28T00:00:23","date_gmt":"2014-10-28T00:00:23","guid":{"rendered":"http:\/\/bloodforge.com\/?p=181"},"modified":"2020-02-20T04:09:18","modified_gmt":"2020-02-20T04:09:18","slug":"updating-my-blogengine-net-blog-to-use-ssl-https-from-http","status":"publish","type":"post","link":"https:\/\/bloodforge.azurewebsites.net\/index.php\/2014\/10\/28\/updating-my-blogengine-net-blog-to-use-ssl-https-from-http\/","title":{"rendered":"Updating my BlogEngine.NET blog to use SSL (HTTPS) from HTTP"},"content":{"rendered":"\n<p>I\u2019m using this post to document how I upgraded my blog for HTTPS.<\/p>\n\n\n\n<p>The first thing I needed to do was to get a SSL certificate. I really didn\u2019t feel like paying for one, so I went with a free certificate from&nbsp;<a href=\"http:\/\/www.startssl.com\/\">StartSSL<\/a>. Their free certificates expire after a year (I wish it was longer), so I\u2019ll need to do this again next year.&nbsp; But they work and\u2026 they\u2019re free.<\/p>\n\n\n\n<p>After I got my p12 certificate above, I asked my web host (Arvixe) to set everything up. It took them about 2 days (it was the weekend though, so maybe it would have been faster if it was during the week). This was pretty much the easiest part since all I had to do was to provide them with the cert, and they got it installed and set up the correct ports for HTTPS.<\/p>\n\n\n\n<p>At this point, I could browse my site using HTTPS. I did have some security warnings, and to fix those I had to update my stylesheets with secure paths to my images. Also, I needed to update some script paths, as they were not secure either.<\/p>\n\n\n\n<p>Finally, I added a rule into my web.config file so that all traffic always gets re-routed to HTTPS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m using this post to document how I upgraded my blog for HTTPS. The first thing I needed to do was to get a SSL certificate. I really didn\u2019t feel like paying for one, so I went with a free certificate from&nbsp;StartSSL. Their free certificates expire after a year (I wish it was longer), so [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":182,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/181"}],"collection":[{"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":1,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":183,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/posts\/181\/revisions\/183"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/media\/182"}],"wp:attachment":[{"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bloodforge.azurewebsites.net\/index.php\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}