Skip to content

Instantly share code, notes, and snippets.

View toddpi314's full-sized avatar
💻
Movies, Music & Microcode

Todd Morrison toddpi314

💻
Movies, Music & Microcode
View GitHub Profile
@toddpi314
toddpi314 / wildcard-ssl-cert-for-testing-nginx-conf.md
Created January 31, 2019 16:33 — forked from sr75/wildcard-ssl-cert-for-testing-nginx-conf.md
create a self signed wildcard ssl cert for testing with nginx.conf example

just change out app_name for your purposes

openssl genrsa 2048 > app_name-wildcard.key

openssl req -new -x509 -nodes -sha1 -days 3650 -key app_name-wildcard.key > app_name-wildcard.cert

# Common Name (eg, your name or your server's hostname) []:*.app_name.com

openssl x509 -noout -fingerprint -text < app_name-wildcard.cert > app_name-wildcard.info
@toddpi314
toddpi314 / README.md
Created October 22, 2015 15:35 — forked from matijs/README.md
Instructions and example configuration to install BitTorrent Sync on a Raspberry Pi running Arch Linux.

Installing BitTorrent Sync on a Raspberry Pi running Arch Linux

The commands below assume you're using a user that can use sudo, you're not logged in as root are you!?

First create a btsync user:

sudo useradd -M --shell /bin/false --home /var/lib/btsync