{"id":147,"date":"2019-05-13T11:14:32","date_gmt":"2019-05-13T11:14:32","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=147"},"modified":"2019-05-13T11:14:32","modified_gmt":"2019-05-13T18:14:32","slug":"setup-ssl-for-ubuntu","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=147","title":{"rendered":"setup SSL for ubuntu"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>open you default-ssl.conf file and paste this code (inside VirtualHost *:443)<\/li><li>\n<code>&lt;Directory \/var\/www\/html&gt;\n                Options Indexes FollowSymLinks MultiViews\n                AllowOverride All\n                Order allow,deny\n                allow from all\n                        Require all granted\n        &lt;\/Directory&gt;\n<\/code>\n<\/li><\/ol>\n\n\n\n<p>your default-ssl.conf should like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;IfModule mod_ssl.c>\n        &lt;VirtualHost *:443>\n                ServerAdmin webmaster@localhost\n                ServerName zumidia.com:443\n                DocumentRoot \/var\/www\/html\n        &lt;Directory \/var\/www\/html>\n                Options Indexes FollowSymLinks MultiViews\n                AllowOverride All\n                Order allow,deny\n                allow from all\n                        Require all granted\n        &lt;\/Directory>\n\n..... REST OF THE FILE CODE .....\n<\/code><\/pre>\n\n\n\n<p>Save the fie and exit editor<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>disable site like: <code>a2dissite default-ssl.conf<\/code><\/li><li>Restart apache like: <code>service apache2 reload<\/code><\/li><li>Now enable site like: <code>a2ensite default-ssl.conf<\/code> 5 Restart apache again like: <code>service apache2 reload<\/code><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>open you default-ssl.conf file and paste this code (inside VirtualHost *:443) &lt;Directory \/var\/www\/html&gt; Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted &lt;\/Directory&gt; your default-ssl.conf should like this: Save the fie and exit editor disable &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=147\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=147"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}