One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/usr/bin/env bash | |
| # Abort sign off on any error | |
| set -e | |
| # Start the benchmark timer | |
| SECONDS=0 | |
| # Repository introspection | |
| OWNER=$(gh repo view --json owner --jq .owner.login) |
| <?php | |
| use PhpCsFixer\Config; | |
| use PhpCsFixer\Finder; | |
| $rules = [ | |
| 'array_indentation' => true, | |
| 'array_syntax' => ['syntax' => 'short'], | |
| 'binary_operator_spaces' => [ | |
| 'default' => 'single_space', |
| <template> | |
| <div class="inline-block" v-html="require('icon-' + this.icon + '.svg')"></div> | |
| </template> | |
| <style module> | |
| .svg { | |
| fill: currentColor; | |
| height: 1em; | |
| margin-top: -4px; | |
| vertical-align: middle; |
| #This scripts installs and setups the eviornment for laravel with database and seeding | |
| # We support all major PHP versions. Please see our docs for a full list | |
| # https://codeship.com/documentation/languages/php/ | |
| #setting the phpenv | |
| phpenv local 5.6 | |
| # Install dependencies through Composer | |
| rm -f /home/rof/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini | |
| #setting the composer cache directory | |
| COMPOSER_HOME=${HOME}/cache/composer |
The process starts by creating the CSR and the private key:
openssl req -nodes -newkey rsa:2048 -nodes -keyout dotmarks.net.key -out dotmarks.net.csr -subj "/C=GB/ST=London/L=London/O=dotmarks/OU=IT/CN=dotmarks.net"
Generates
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.