• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Jeff Mould

A Tech Blog by Jeff Mould

  • Home
  • Resources
    • Website Resources
    • How To Use WordPress
  • Jeff Mould
    • About Jeff Mould
    • Jeff Mould Links
    • Disclosure
  • Contact Jeff Mould
You are here: Home / Archives for ssl

ssl

How-To Install Let’s Encrypt SSL Certificate with Laravel

May 14, 2016 by Jeff Mould 8 Comments

Let's Encrypt has made obtaining and installing SSL certificates a no-brainer for websites. However, if you plan to use Let's Encrypt with Laravel running on NGINX there are a couple little modifications you will need to make to the install process. The problem is that with Laravel, your NGINX config probably points to your public directory as the root (for example: /var/www/example.com/public/). Let's Encrypt, however, wants a directory under the root named .well-known and needs to have access to that directory publicly when installing the certificates. If you fail to account for this you will get "client lacks sufficient privileges" errors when attempting to obtain a certificate.Below is a step-by-step guide for installing a Let's Encrypt SSL certificate with Laravel running on NGINX. For this post I am going to assume that you are familiar with installing NGINX and Laravel. Note also that this install is done on Ubuntu 14.04 and assumes you have access to a sudo user.Installing … [Read more...] about How-To Install Let’s Encrypt SSL Certificate with Laravel

Filed Under: Laravel, Nginx Tagged With: certificate, http, https, jeff mould, Laravel, laravel5, letsencrypt, Nginx, ssl

Laravel 5.2 – Forcing HTTPS Routes when using SSL

January 31, 2016 by Jeff Mould 28 Comments

There is an increasing push for privacy and security on the web and a lot of this starts with sites using SSL to encrypt their traffic. With SSL certificates now free from companies like Amazon recently launching their AWS Certificate Manager and initiatives like Let's Encrypt there really is no reason now that sites should not have SSL. This article though is not about encryption, installing SSL, or your need for SSL in general. Instead I want to focus on after you have chosen to implement SSL on your site. Particularly if you are using AWS Certificate Manager (ACM) with an Amazon Elastic Load Balancer (ELB) in front of a Laravel 5.2 site. You may like many others choose to keep it simple and have the ELB forward port 443 (HTTPS) to port 80 (HTTP) on your EC2 instance. In this case there you may not have a certificate residing on the EC2 instance(s) and you may not have the EC2 instance configured to handle requests on port 443. If you are using Laravel 5.2 this may present some … [Read more...] about Laravel 5.2 – Forcing HTTPS Routes when using SSL

Filed Under: Laravel, Laravel 5 Tagged With: acm, amazon, amazon certificate manager, aws, ec2, http, https, jeff mould, Laravel, laravel 5, laravel 5.2, PHP, php framework, port 443, port 80, ssl, tls

Ubuntu Server Guide: Install Nginx from source on Ubuntu 12.04

November 26, 2013 by Jeff Mould 8 Comments

Note:Improve your site performance and get phenomenal support at the same time. For discounted hosting services visit Bluehost.com.In this article I am going to go through the steps of how to install Nginx from source. For most, the distribution install of Nginx is fine, however, there may be times where you want to install, or not install, a specific module. This can be true if you are want to try, or have requirements for, new technologies such as Google PageSpeed or SPDY. Both of these modules can greatly increase the performance and speed of your site. Installing applications such as Nginx from source can be intimidating at first, but if you have the time and a little understanding of Linux commands doing so is fairly straightforward. With this configuration we are going to install both Google PageSpeed and SPDY, but the steps can be used to add/delete any additional modules you want. Install Nginx from Source Step 1 First things first, let's make sure we have the necessary … [Read more...] about Ubuntu Server Guide: Install Nginx from source on Ubuntu 12.04

Filed Under: Nginx, Web Hosting Tagged With: Google Pagespeed, jeff mould, Linode, Nginx, pagespeed, spdy, ssl, Ubuntu, Ubuntu 12.04, web server

Primary Sidebar

Connect With Me

  • Facebook
  • GitHub
  • Google+
  • Instagram
  • LinkedIn
  • Pinterest
  • Tumblr
  • Twitter
  • YouTube

Top Posts & Pages

  • Responsive Multi level Drop Down Menu Bootstrap 3
  • The mixed up pricing of SiriusXM and SiriusXM Discounts
  • Bootstrap 4 Mobile Menu - Collapsible Nav
  • How-To Install Let's Encrypt SSL Certificate with Laravel
  • Exclude Subdirectory from Routing in Laravel 5

Copyright © 2016 - Jeff Mould - All Rights Reserved