This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| <?php | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| class LaravelConditionalIndexMigration extends Migration | |
| { | |
| /** | |
| * Run the migrations. |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| #!/bin/bash | |
| # | |
| ## -------------------------------=[ Info ]=--------------------------------- ## | |
| # | |
| # Generate letsencrypt cert on local server and scp to esxi target. | |
| # Designed and tested on Ubuntu 16.04LTS. | |
| # Assumes you have upnp control over local network. Tested with Ubiquiti USG. | |
| # | |
| # Dependencies: | |
| # miniupnpc (sudo apt install miniupnpc) |