{"id":46300,"date":"2023-08-23T12:30:00","date_gmt":"2023-08-23T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=46300"},"modified":"2023-07-24T14:09:56","modified_gmt":"2023-07-24T19:09:56","slug":"how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/","title":{"rendered":"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\" alt=\"install lets encrypt with apache on ubuntu 22.04\" class=\"wp-image-46515\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04-300x109.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04-150x54.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04-768x279.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Let&#8217;s Encrypt is a free and open Certificate Authority (CA) that provides free digital certificates for enabling HTTPS (HTTP Secure) on websites. HTTPS uses the SSL\/TLS protocol to encrypt communications so that attackers can&#8217;t steal data. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The goal of Let&#8217;s Encrypt is to offer free alternatives and make it easier for site owners to obtain and install SSL\/TLS certificates, ensuring secure communication between their websites and users. <\/p>\n\n\n\n<p>Today, you will learn how to use Let\u2019s Encrypt client &#8211; certbot with Apache to obtain a free SSL certificate for your websites. By following this step-by-step guide, you&#8217;ll be able to secure your website with HTTPS, ensuring the protection of sensitive data and improving user trust.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ec28129c943\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ec28129c943\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-1-Update-the-System\" >Step 1: Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-2-Install-Apache-and-enable-the-SSL-module\" >Step 2. Install Apache and enable the SSL module<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-2-Install-Certbot\" >Step 2: Install Certbot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-5-Obtain-and-Install-the-Certificate\" >Step 5: Obtain and Install the Certificate<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-6-Automatic-Certificate-Renewal\" >Step 6: Automatic Certificate Renewal<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#Step-7-Verify-HTTPS-Configuration\" >Step 7: Verify HTTPS Configuration<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\">Ubuntu 22.04 VPS<\/a><\/li>\n\n\n\n<li>SSH root access or regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1: Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we begin, let&#8217;s make sure our system is up to date. Open a terminal and run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># apt-get update\n\n# apt-get upgrade<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Apache-and-enable-the-SSL-module\"><\/span>Step 2. Install Apache and enable the SSL module<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you don\u2019t already have <a href=\"https:\/\/www.apache.org\/\">Apache installed<\/a>, you should run the following command to install the Apache server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># apt install apache2<\/code><\/pre>\n\n\n\n<p>Once installed, you can check if the Apache service is running with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># systemctl status apache2<\/code><\/pre>\n\n\n\n<p>You should receive similar output confirming that the Apache service is running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf apache2.service - The Apache HTTP Server\n\nLoaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\n\nActive: active (running) since Thu 2023-06-22 12:17:52 UTC; 2min 16s ago\n\nDocs: https:\/\/httpd.apache.org\/docs\/2.4\/\n\nProcess: 2807 ExecStart=\/usr\/sbin\/apachectl start (code=exited, status=0\/SUCCESS)\n\nMain PID: 2812 (apache2)\n\nTasks: 55 (limit: 1141)\n\nMemory: 6.0M\n\nCPU: 35ms\n\nCGroup: \/system.slice\/apache2.service\n\n\u251c\u25002812 \/usr\/sbin\/apache2 -k start\n\n\u251c\u25002813 \/usr\/sbin\/apache2 -k start\n\n\u2514\u25002814 \/usr\/sbin\/apache2 -k start<\/code><\/pre>\n\n\n\n<p>You can now check which Apache modules are installed with the command apachectl -M. To check if the SSL module is installed, we can run the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># apachectl -M | grep ssl<\/code><\/pre>\n\n\n\n<p>If you don\u2019t receive any output, this means the module is missing, and it can be installed using the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># a2enmod ssl<\/code><\/pre>\n\n\n\n<p>Then, you can go ahead and restart the apache service and continue with the certbot installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># systemctl restart apache2<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Certbot\"><\/span>Step 2: Install Certbot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Certbot is the <a href=\"https:\/\/letsencrypt.org\/\">Let&#8217;s Encrypt<\/a> client that makes obtaining and installing SSL\/TLS certificates easier. Now, you can install Certbot by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># apt install certbot python3-certbot-apache<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Obtain-and-Install-the-Certificate\"><\/span>Step 5: Obtain and Install the Certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, it&#8217;s time to obtain and install the Let&#8217;s Encrypt certificate for your domain. Replace example.com with your actual domain name in the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># certbot --apache -d example.com<\/code><\/pre>\n\n\n\n<p>Certbot will guide you through the process and prompt you to agree to the terms of service and provide an email address for renewal notifications.<\/p>\n\n\n\n<p>You can also just use the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># certbot \u2013apache<\/code><\/pre>\n\n\n\n<p>You can also simply use the command certbot &#8211;apache menu without any options to obtain or renew SSL certificates for all domains or only select specific domains for which to obtain\/renew certificates. You will be asked to confirm the terms of services, and then you will be asked<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u201cWhich names would you like to activate HTTPS for?\u201d\n\n1. Domain1.com\n\n2. Domain2.com\n\n3. Domain3.com<\/code><\/pre>\n\n\n\n<p>Once you select the domain, Let&#8217;s Encrypt will try to obtain and install an SSL certificate for that domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Automatic-Certificate-Renewal\"><\/span>Step 6: Automatic Certificate Renewal<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p> Let&#8217;s Encrypt certificates are valid for 90 days. It&#8217;s crucial to set up automatic certificate renewal to ensure continuous encryption. Fortunately, Certbot makes this process easy. Run the following command to configure the renewal cron job:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># certbot renew --dry-run<\/code><\/pre>\n\n\n\n<p>The &#8211;dry-run flag allows Certbot to simulate the renewal process without actually modifying any certificates. This step ensures everything is set up correctly before the renewal is enabled.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Verify-HTTPS-Configuration\"><\/span>Step 7: Verify HTTPS Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Once the certificate installation and renewal setup are complete, it&#8217;s important to verify that your website is now accessible via HTTPS. Open a web browser and navigate to your domain (e.g., https:\/\/example.com). You should see a secure connection with a padlock icon in the address bar.<\/p>\n\n\n\n<p>Conclusion: Congratulations! You have successfully installed Let&#8217;s Encrypt with Apache on Ubuntu 22.04. By following this tutorial, you have secured your website with HTTPS, enhancing the security and trustworthiness of your online presence. Remember to regularly check the certificate&#8217;s expiration and renew it when needed to maintain continuous encryption.<\/p>\n\n\n\n<p>If you find this setup difficult or do not know how to install Let&#8217;s Encrypt with Apache on Ubuntu 22.04, you can always <a href=\"https:\/\/www.rosehosting.com\/support\/\">contact our technical support<\/a>. We are available 24\/7 via live chat or support tickets. All you have to do is to sign up for one of our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">Linux VPS hosting plans<\/a> and submit a support ticket. Our admins will reply to you in no time!<\/p>\n\n\n\n<p>If you liked this post about installing Let&#8217;s Encrypt with Apache on Ubuntu 22.04, please share it with your friends on social networks or simply leave a reply below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s Encrypt is a free and open Certificate Authority (CA) that provides free digital certificates for enabling HTTPS (HTTP Secure) &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#more-46300\" aria-label=\"Read more about How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":46515,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1703,13,1698],"tags":[37,2098,59],"class_list":["post-46300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-tutorials","category-ubuntu","tag-apache","tag-lets-encrypt-2","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Let&#039;s Encrypt with Apache on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to secure your Apache server on Ubuntu 22.04 with Let&#039;s Encrypt.Follow step-by-step guide and find out more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Lets Encrypt with Apache on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"Learn how to secure your Apache server on Ubuntu 22.04 with Let&#039;s Encrypt.Follow step-by-step guide and find out more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-23T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Lets Encrypt with Apache on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to secure your Apache server on Ubuntu 22.04 with Let&#039;s Encrypt.Follow step-by-step guide and find out more.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04\",\"datePublished\":\"2023-08-23T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/\"},\"wordCount\":718,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\",\"keywords\":[\"apache\",\"lets encrypt\",\"ubuntu\"],\"articleSection\":[\"Security\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/\",\"name\":\"How to Install Let's Encrypt with Apache on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-08-23T17:30:00+00:00\",\"description\":\"Learn how to secure your Apache server on Ubuntu 22.04 with Let's Encrypt.Follow step-by-step guide and find out more.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp\",\"width\":1024,\"height\":372,\"caption\":\"install lets encrypt with apache on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Let's Encrypt with Apache on Ubuntu 22.04 | RoseHosting","description":"Learn how to secure your Apache server on Ubuntu 22.04 with Let's Encrypt.Follow step-by-step guide and find out more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Lets Encrypt with Apache on Ubuntu 22.04","og_description":"Learn how to secure your Apache server on Ubuntu 22.04 with Let's Encrypt.Follow step-by-step guide and find out more.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-08-23T17:30:00+00:00","og_image":[{"width":1024,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Lets Encrypt with Apache on Ubuntu 22.04","twitter_description":"Learn how to secure your Apache server on Ubuntu 22.04 with Let's Encrypt.Follow step-by-step guide and find out more.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04","datePublished":"2023-08-23T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/"},"wordCount":718,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp","keywords":["apache","lets encrypt","ubuntu"],"articleSection":["Security","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/","name":"How to Install Let's Encrypt with Apache on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp","datePublished":"2023-08-23T17:30:00+00:00","description":"Learn how to secure your Apache server on Ubuntu 22.04 with Let's Encrypt.Follow step-by-step guide and find out more.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/07\/install-lets-encrypt-with-apache-on-ubuntu-22-04.webp","width":1024,"height":372,"caption":"install lets encrypt with apache on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lets-encrypt-with-apache-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Let&#8217;s Encrypt with Apache on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=46300"}],"version-history":[{"count":9,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46300\/revisions"}],"predecessor-version":[{"id":46519,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46300\/revisions\/46519"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/46515"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=46300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=46300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=46300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}