{"id":5455,"date":"2023-11-16T10:35:18","date_gmt":"2023-11-16T10:35:18","guid":{"rendered":"https:\/\/natsav.com\/blog\/?p=5455"},"modified":"2024-02-06T12:12:55","modified_gmt":"2024-02-06T12:12:55","slug":"install-ssl-on-ubuntu","status":"publish","type":"post","link":"https:\/\/natsav.com\/blog\/install-ssl-on-ubuntu\/","title":{"rendered":"How to Install SSL with Apache on Ubuntu Server Using PuTTY"},"content":{"rendered":"<p><strong>Step 1: Connect to Your Server<\/strong><br \/>\na. Open PuTTY on your local machine.<br \/>\nb. Enter your server&#8217;s IP address in the &#8220;Host Name (or IP address)&#8221; field.<br \/>\nc. Set the connection type to &#8220;SSH.&#8221;Click &#8220;Open&#8221; to initiate the connection.<\/p>\n<p><strong>Step 2: Log in to Your Server<\/strong><br \/>\na. Enter your username and password when prompted. Make sure you have root access or the necessary privileges to b. install software and configure Apache.<\/p>\n<p><strong>Step 3: Update Packages<\/strong><br \/>\na. Ensure your server&#8217;s package list is up-to-date by running the following commands:<\/p>\n<p>#sudo apt update<br \/>\n#sudo apt upgrade -y<\/p>\n<p>Step 4: Install Certbot<br \/>\na. Certbot is a tool for managing SSL certificates. Install Certbot and the Apache Certbot plugin:<\/p>\n<p>#sudo apt install certbot python3-certbot-apache<\/p>\n<p><strong>Step 5: Obtain SSL Certificate<\/strong><br \/>\na. Run Certbot to obtain and install the SSL certificate. Replace your_domain with your actual domain:<\/p>\n<p>#sudo certbot &#8211;apache -d your_domain<br \/>\nCertbot will prompt you to enter an email address for renewal notifications and agree to the terms of service.<\/p>\n<p><strong>Step 6: Configure SSL<\/strong><br \/>\nCertbot will automatically configure your Apache server to use the newly obtained SSL certificate. Once the process is complete, Certbot will display a success message.<\/p>\n<p><strong>Step 7: Verify SSL Configuration<\/strong><br \/>\nTest your SSL configuration by visiting https:\/\/your_domain in a web browser. Ensure that your website loads securely with the padlock icon in the address bar.<\/p>\n<p>Congratulations! Your Apache server is now configured with SSL, providing a secure connection for your website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Connect to Your Server a. Open PuTTY on your local machine. b. Enter your server&#8217;s IP address in the &#8220;Host Name (or IP address)&#8221; field. c. Set the connection type to &#8220;SSH.&#8221;Click &#8220;Open&#8221; to initiate the connection. Step 2: Log in to Your Server a. Enter your username and password when prompted. Make [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[255],"tags":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/natsav.com\/blog\/wp-content\/uploads\/2023\/11\/ssl-e1700131078627.png?fit=649%2C367&ssl=1","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5455"}],"collection":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/comments?post=5455"}],"version-history":[{"count":1,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions"}],"predecessor-version":[{"id":5461,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/posts\/5455\/revisions\/5461"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/media\/5462"}],"wp:attachment":[{"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/media?parent=5455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/categories?post=5455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/natsav.com\/blog\/wp-json\/wp\/v2\/tags?post=5455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}