For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| #!/bin/sh | |
| echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
| read inputline | |
| name="$inputline" | |
| echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
| read inputline | |
| url="$inputline" |
| UTF8 := $(shell locale -c LC_CTYPE -k | grep -q charmap.*UTF-8 && echo -utf8) | |
| SERIAL=0 | |
| .PHONY: usage | |
| .SUFFIXES: .key .csr .crt .pem | |
| .PRECIOUS: %.key %.csr %.crt %.pem | |
| usage: | |
| @echo "This makefile allows you to create:" | |
| @echo " o public/private key pairs" |
export DATE=`date +"%Y%m"`
export SITENAME="mike_tig_as"
export KEYNAME="$DATE-$SITENAME"
# Generate private key, make it have no password.
# change to 2048 if you want compatibility with CDNs / aws cloudfront / load balancers, etc
openssl genrsa -aes256 -passout pass:xxxx -out "${KEYNAME}.pass.key" 4096
openssl rsa -passin pass:xxxx -in ${KEYNAME}.pass.key -out ${KEYNAME}.key| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.plex.pms</string> | |
| <key>OnDemand</key> | |
| <false/> | |
| <key>ProgramArguments</key> |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
| sudo rm -rf /** |
| // So.. this code: | |
| if (foo) { | |
| goto fail; | |
| goto fail; | |
| } | |
| else if (bar) { | |
| goto fail; | |
| goto fail; | |
| } | |
| else if (bam) { |
| function routes() | |
| { | |
| if [ $# -eq 0 ]; then | |
| php artisan route:list | |
| else | |
| php artisan route:list | grep ${1} | |
| fi | |
| } |