{"id":427,"date":"2018-02-02T00:04:43","date_gmt":"2018-02-01T16:04:43","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=427"},"modified":"2018-09-05T12:10:51","modified_gmt":"2018-09-05T04:10:51","slug":"installing-certbot-on-raspbian-stretch-lite-for-obtaining-lets-encrypts-browser-trusted-certificates","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/installing-certbot-on-raspbian-stretch-lite-for-obtaining-lets-encrypts-browser-trusted-certificates\/","title":{"rendered":"Installing Certbot on Raspbian Stretch Lite for obtaining Let&#8217;s Encrypt&#8217;s browser-trusted certificates"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/certbotraspbian-logo.gif\" alt=\"Certbot + Raspbian logo\" \/><\/p>\n<p>By offering free browser-trusted certificates, <a href=\"https:\/\/letsencrypt.org\" rel=\"noopener\" target=\"_blank\">Let's Encrypt<\/a> makes it easy for ordinary folks like you and me to deploy secure web applications that serve HTTPS traffic 24-7.<\/p>\n<p>The issuance of Let's Encrypt certificates is automated by software participating in the <a href=\"https:\/\/ietf-wg-acme.github.io\/acme\/\" rel=\"noopener\" target=\"_blank\">ACME protocol<\/a>. We will need to run such a software on devices which host web servers serving HTTPS traffic. <\/p>\n<p>The Raspbian Stretch Lite operating system is a way to create performant web-based appliances with Raspberry Pis. If you need to secure your web-based applications on Raspbian Stretch Lite, you may choose to install Certbot on Raspbian Stretch Lite as a first step.<\/p>\n<p>This post extends <a href=\"https:\/\/certbot.eff.org\/#debianstretch-nginx\" rel=\"noopener\" target=\"_blank\">Certbot's installation instruction on Debian Stretch<\/a> to provide the steps for installing Certbot on Raspbian Stretch Lite.<\/p>\n<h2>Enabling the Stretch backports repo<\/h2>\n<p>Certbot for Raspbian Stretch Lite is available via the stretch-backports. As a first step, we need to enable the <a href=\"https:\/\/backports.debian.org\/news\/stretch-backports\/\" rel=\"noopener\" target=\"_blank\">stretch-backports<\/a> repo before we run the command to install Certbot:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo sed -i &quot;$ a\\deb http:\/\/ftp.debian.org\/debian stretch-backports main&quot; \/etc\/apt\/sources.list\r\n<\/pre>\n<h2>Installing Certbot<\/h2>\n<p>Once we had enabled the stretch-backports, we can then run the following commands to install Certbot:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get update\r\nsudo apt-get install certbot -t stretch-backports -y --force-yes\r\n<\/pre>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-6T\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-6T&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-6T&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F427&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>By offering free browser-trusted certificates, <a href=\"https:\/\/letsencrypt.org\" rel=\"noopener\" target=\"_blank\">Let&#8217;s Encrypt<\/a> makes it easy for ordinary folks like you and me to deploy secure web applications that serve HTTPS traffic 24-7.<\/p>\n<p>The issuance of Let&#8217;s Encrypt certificates is automated by software participating in the <a href=\"https:\/\/ietf-wg-acme.github.io\/acme\/\" rel=\"noopener\" target=\"_blank\">ACME protocol<\/a>. We will need to run such a software on devices which host web servers serving HTTPS traffic. <\/p>\n<p>The Raspbian Stretch Lite operating system is a way to create performant web-based appliances with Raspberry Pis. If you need to secure your web-based applications on Raspbian Stretch Lite, you may choose to install Certbot on Raspbian Stretch Lite as a first step.<\/p>\n<p>This post extends <a href=\"https:\/\/certbot.eff.org\/#debianstretch-nginx\" rel=\"noopener\" target=\"_blank\">Certbot&#8217;s installation instruction on Debian Stretch<\/a> to provide the steps for installing Certbot on Raspbian Stretch Lite.<\/p>\n","protected":false},"author":1,"featured_media":1280,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[4],"tags":[431,266,240,445,195,264],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/CertBot-with-Raspbian-Logo-640x400.gif","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-6T","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/427"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/1280"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}