{"id":3255,"date":"2015-11-22T21:40:40","date_gmt":"2015-11-22T20:40:40","guid":{"rendered":"https:\/\/sunpig.com\/martin\/?p=3255"},"modified":"2015-11-22T21:40:40","modified_gmt":"2015-11-22T20:40:40","slug":"ifttmaybet","status":"publish","type":"post","link":"https:\/\/sunpig.com\/martin\/2015\/11\/22\/ifttmaybet\/","title":{"rendered":"IFTTmaybeT"},"content":{"rendered":"<p>I think I might have fixed the problem that was causing <a href=\"https:\/\/ifttt.com\/\">IFTTT<\/a> to choke on my recipe to auto-post new posts here to Twitter. Although browsers can display my <a href=\"https:\/\/sunpig.com\/martin\/feed\/\">RSS feed<\/a> just fine, I noticed that if I tried to retrieve the feed using <code>curl<\/code> from my server (Ubuntu 14.04), it would refuse with the following error: <code>curl: (60) SSL certificate problem: unable to get local issuer certificate<\/code>. (Running <code>curl<\/code> locally on my Mac is fine as well.)<\/p>\n<p>Turns out that the main certificate I use is enough for <em>most<\/em> circumstances, but some clients require an <a href=\"https:\/\/en.wikipedia.org\/wiki\/Intermediate_certificate_authorities\">intermediate certificate<\/a> before sufficient trust is established. In nginx you have to concatenate the two certificates to make this work. Ben Jeffrey&#8217;s article &#8220;<a href=\"http:\/\/benjeffrey.com\/posts\/setting-up-gandi-ssl-on-nginx\">Setting up Gandi SSL on Nginx<\/a>&#8221; gave me all the information I needed. IFTTT seems happy with the recipe now.<\/p>\n<p>I&#8217;ve just made a donation to the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Internet_Security_Research_Group\">Internet Security Research Group<\/a> for their <a href=\"https:\/\/letsencrypt.org\/\">Let&#8217;s Encrypt<\/a> project, which aims to make acquiring and installing certificates faster and easier. I hope it works out, because adding certificates is still super annoying.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think I might have fixed the problem that was causing IFTTT to choke on my recipe to auto-post new posts here to Twitter. Although browsers can display my RSS feed just fine, I noticed that if I tried to retrieve the feed using curl from my server (Ubuntu 14.04), it would refuse with the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sunpig.com\/martin\/2015\/11\/22\/ifttmaybet\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;IFTTmaybeT&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-3255","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/3255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/comments?post=3255"}],"version-history":[{"count":1,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/3255\/revisions"}],"predecessor-version":[{"id":3256,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/posts\/3255\/revisions\/3256"}],"wp:attachment":[{"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/media?parent=3255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/categories?post=3255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunpig.com\/martin\/wp-json\/wp\/v2\/tags?post=3255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}