{"id":1291,"date":"2019-03-28T15:41:42","date_gmt":"2019-03-28T14:41:42","guid":{"rendered":"https:\/\/www.apvnorge.no\/?page_id=1291"},"modified":"2019-03-28T15:42:22","modified_gmt":"2019-03-28T14:42:22","slug":"how-to-install-and-use-certbot","status":"publish","type":"page","link":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/","title":{"rendered":"How to install and use CertBot"},"content":{"rendered":"<div id=\"apvno-3676917721\" class=\"apvno-before-content apvno-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7003427967427457\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:970px;height:250px;\" \ndata-ad-client=\"ca-pub-7003427967427457\" \ndata-ad-slot=\"6272152047\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"https:\/\/www.apvnorge.no\/it-knowledge-base\/linux\/\">Back to Linux<\/a><\/strong><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n<pre class=\"wp-block-preformatted\">1. <strong>Install CertBot<\/strong><br>To install Certbot, simply run the following commands:<br><br>apt-get install software-properties-common python-software-properties<br>add-apt-repository ppa:certbot\/certbot<br>apt-get update<br>apt-get install python-certbot-apache<br><br>2. <strong>Install Let\u2019s Encrypt SSL Certificate<\/strong><br>To install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):<br><br>certbot --apache -d yourdomain.com<br><br>You will then be asked for an email address and to read and accept the Terms of Services. This is how the output should look like during the installation:<br><br>Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log<br>Plugins selected: Authenticator apache, Installer apache<br>Enter email address (used for urgent renewal and security notices) (Enter 'c' to<br>cancel): admin@yourdomain.com<br><br>-------------------------------------------------------------------------------<br>Please read the Terms of Service at<br>https:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf. You must<br>agree in order to register with the ACME server at<br>https:\/\/acme-v01.api.letsencrypt.org\/directory<br>-------------------------------------------------------------------------------<br>(A)gree\/(C)ancel: A<br><br>-------------------------------------------------------------------------------<br>Would you be willing to share your email address with the Electronic Frontier<br>Foundation, a founding partner of the Let's Encrypt project and the non-profit<br>organization that develops Certbot? We'd like to send you email about EFF and<br>our work to encrypt the web, protect its users and defend digital rights.<br>-------------------------------------------------------------------------------<br>(Y)es\/(N)o: Y<br><br>Obtaining a new certificate<br>Performing the following challenges:<br>tls-sni-01 challenge for yourdomian.com<br>Waiting for verification...<br>Cleaning up challenges<br>Created an SSL vhost at \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<br>Deploying Certificate for yourdomain.com to VirtualHost \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<br>Enabling available site: \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<br>3. Redirect HTTP to HTTPS<br>Additionally, you can also make a choice if you would like to redirect all the HTTP traffic to HTTPS:<br><br>Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.<br>-------------------------------------------------------------------------------<br>1: No redirect - Make no further changes to the webserver configuration.<br>2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for<br>new sites, or if you're confident your site works on HTTPS. You can undo this<br>change by editing your web server's configuration.<br>-------------------------------------------------------------------------------<br>Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2<br>Redirecting vhost in \/etc\/apache2\/sites-enabled\/000-default.conf to ssl vhost in \/etc\/apache2\/sites-available\/000-default-le-ssl.conf<br><br>-------------------------------------------------------------------------------<br>Congratulations! You have successfully enabled https:\/\/yourdomain.com<br>4. Automatic renewal<br>You can also create a cron job in order to set up an automatic SSL renewal. To do this first run:\n<p>crontab -e<br>and then add the following:<\/p>\n<p>&nbsp;\/usr\/bin\/letsencrypt renew &gt;&gt; \/var\/log\/letsencrypt-renew.log<br>Save the file and close it. Restart the cron service so the changes can take effect:<\/p>\n<p>service cron restart<br>That\u2019s it.<\/p>\n<\/pre><div id=\"apvno-1761772953\" class=\"apvno-after apvno-entity-placement\"><script>\r\n_adsys_id = 33949;\r\n_adsys_size = 1;\r\n<\/script>\r\n<script src=\"https:\/\/d.wedosas.net\/d.js\"><\/script>    \r\n<\/br>\r\n<div>\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- AD-4 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:inline-block;width:970px;height:250px\"\r\n     data-ad-client=\"ca-pub-7003427967427457\"\r\n     data-ad-slot=\"6272152047\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\r\n<a href=\"https:\/\/affiliates.ssl.com\/820-3-1-13.html\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border:0px\" src=\"https:\/\/i0.wp.com\/affiliates.ssl.com\/media\/banners\/SSL-banner-UC-certificate-2-v5.png?resize=640%2C79&#038;ssl=1\" width=\"640\" height=\"79\" alt=\"Microsoft Exchange SAN UCC SSL\"><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot &#8211;apache -d yourdomain.comYou will then be asked [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":472,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"class_list":["post-1291","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"3.0.5","language":"cz","enabled_languages":["en","no","cz"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"no":{"title":false,"content":false,"excerpt":false},"cz":{"title":false,"content":false,"excerpt":false}}},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"google-site-verification\" content=\"TrS3Ce4SzthGp870C1FeMCHMy8m2nPpzG2NfPcdfJi0\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Et teknologiselskap - Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to install and use CertBot - Et teknologiselskap\" \/>\n\t\t<meta property=\"og:description\" content=\"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&#038;ssl=1\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&#038;ssl=1\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-03-28T14:41:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-03-28T14:42:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=100064041250396\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to install and use CertBot - Et teknologiselskap\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&amp;ssl=1\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/#listItem\",\"name\":\"IT Knowledge Base\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/#listItem\",\"position\":2,\"name\":\"IT Knowledge Base\",\"item\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/#listItem\",\"name\":\"Linux\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/#listItem\",\"position\":3,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#listItem\",\"name\":\"How to install and use CertBot\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/#listItem\",\"name\":\"IT Knowledge Base\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#listItem\",\"position\":4,\"name\":\"How to install and use CertBot\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/#organization\",\"name\":\"{:en}Et teknologiselskap{:}{:gb}Et teknologiselskap{:}\",\"description\":\"Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.\",\"url\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.apvnorge.no\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/APV.gif?fit=230%2C81&ssl=1\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#organizationLogo\",\"width\":230,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100064041250396\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#webpage\",\"url\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/\",\"name\":\"How to install and use CertBot - Et teknologiselskap\",\"description\":\"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\\\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\\u2019s Encrypt SSL CertificateTo install a Let\\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \\u2018yourdomain.com\\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked\",\"inLanguage\":\"cs-CZ\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/it-knowledge-base\\\/linux\\\/how-to-install-and-use-certbot\\\/#breadcrumblist\"},\"datePublished\":\"2019-03-28T15:41:42+01:00\",\"dateModified\":\"2019-03-28T15:42:22+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/#website\",\"url\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/\",\"name\":\"{:en}Et teknologiselskap{:}{:gb}Et teknologiselskap{:}\",\"description\":\"Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.\",\"inLanguage\":\"cs-CZ\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.apvnorge.no\\\/cz\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to install and use CertBot - Et teknologiselskap","description":"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked","canonical_url":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"TrS3Ce4SzthGp870C1FeMCHMy8m2nPpzG2NfPcdfJi0","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz#listItem","position":1,"name":"Home","item":"https:\/\/www.apvnorge.no\/cz","nextItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/#listItem","name":"IT Knowledge Base"}},{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/#listItem","position":2,"name":"IT Knowledge Base","item":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/#listItem","name":"Linux"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/#listItem","position":3,"name":"Linux","item":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#listItem","name":"How to install and use CertBot"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/#listItem","name":"IT Knowledge Base"}},{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#listItem","position":4,"name":"How to install and use CertBot","previousItem":{"@type":"ListItem","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/#listItem","name":"Linux"}}]},{"@type":"Organization","@id":"https:\/\/www.apvnorge.no\/cz\/#organization","name":"{:en}Et teknologiselskap{:}{:gb}Et teknologiselskap{:}","description":"Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.","url":"https:\/\/www.apvnorge.no\/cz\/","logo":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=230%2C81&ssl=1","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#organizationLogo","width":230,"height":81},"image":{"@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=100064041250396"]},{"@type":"WebPage","@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#webpage","url":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/","name":"How to install and use CertBot - Et teknologiselskap","description":"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked","inLanguage":"cs-CZ","isPartOf":{"@id":"https:\/\/www.apvnorge.no\/cz\/#website"},"breadcrumb":{"@id":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/#breadcrumblist"},"datePublished":"2019-03-28T15:41:42+01:00","dateModified":"2019-03-28T15:42:22+01:00"},{"@type":"WebSite","@id":"https:\/\/www.apvnorge.no\/cz\/#website","url":"https:\/\/www.apvnorge.no\/cz\/","name":"{:en}Et teknologiselskap{:}{:gb}Et teknologiselskap{:}","description":"Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.","inLanguage":"cs-CZ","publisher":{"@id":"https:\/\/www.apvnorge.no\/cz\/#organization"}}]},"og:locale":"cs_CZ","og:site_name":"Et teknologiselskap - Dedisert til alle som ikke lenger kan reise til det vakre landet med oss.","og:type":"article","og:title":"How to install and use CertBot - Et teknologiselskap","og:description":"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked","og:url":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/","og:image":"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&#038;ssl=1","og:image:secure_url":"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&#038;ssl=1","article:published_time":"2019-03-28T14:41:42+00:00","article:modified_time":"2019-03-28T14:42:22+00:00","article:publisher":"https:\/\/www.facebook.com\/profile.php?id=100064041250396","twitter:card":"summary_large_image","twitter:title":"How to install and use CertBot - Et teknologiselskap","twitter:description":"Back to Linux 1. Install CertBotTo install Certbot, simply run the following commands:apt-get install software-properties-common python-software-propertiesadd-apt-repository ppa:certbot\/certbotapt-get updateapt-get install python-certbot-apache2. Install Let\u2019s Encrypt SSL CertificateTo install a Let\u2019s Encrypt SSL certificate on your domain, execute the following command (make sure you replace \u2018yourdomain.com\u2019 with your actual domain name):certbot --apache -d yourdomain.comYou will then be asked","twitter:image":"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/APV.gif?fit=23081&ssl=1"},"aioseo_meta_data":{"post_id":"1291","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2024-03-07 16:40:33","updated":"2025-06-03 23:41:02"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.apvnorge.no\/cz\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/\" title=\"IT Knowledge Base\">IT Knowledge Base<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to install and use CertBot\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.apvnorge.no\/cz"},{"label":"IT Knowledge Base","link":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/"},{"label":"Linux","link":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/"},{"label":"How to install and use CertBot","link":"https:\/\/www.apvnorge.no\/cz\/it-knowledge-base\/linux\/how-to-install-and-use-certbot\/"}],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P9T0bk-kP","jetpack-related-posts":[],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/pages\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":2,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/pages\/1291\/revisions"}],"predecessor-version":[{"id":1293,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/pages\/1291\/revisions\/1293"}],"up":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/pages\/472"}],"wp:attachment":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/media?parent=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}