After Chrome 58, self-signed certificate without SAN is not valid anymore.
openssl genrsa -des3 -out example.com.key 2048| #!/bin/bash | |
| set -e | |
| # Before using this script check that you have configured your credentials and | |
| # you are logged in to the right aws account. | |
| # try running `aws configure list` to list all your configuration data | |
| # You will also need to install cli53. https://github.com/barnybug/cli53 | |
| # Download the latest and move it to your local bin folder https://github.com/barnybug/cli53/releases/latest | |
| # mv cli53-linux-amd64 ~/.local/bin/cli53 |
| #!/bin/bash | |
| # Nagios script that raises an critical after X grace period of time. | |
| # curl -x my.super.lan:223 http://foo.bar -s --connect-timeout 10 | |
| print_usage() { | |
| echo -n ' | |
| Options: | |
| -u, --url URL to check | |
| -x, --proxy Proxy server | |
| -p, --port Proxy port |
| #!/usr/bin/env ruby | |
| # | |
| # Nagios plugin to monitor Redis sentinel | |
| # | |
| # Checks general connectivity to a Redis sentinel server and will go critical | |
| # for any of the following conditions: | |
| # * Inability to connect to the sentinel server | |
| # * Sentinel reports it isn't monitoring any masters | |
| # * Sentinel has entered TILT mode | |
| # |
| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |