-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
1,675 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDuzCCAqOgAwIBAgIUB48uNKy465bQOYTSxSiS642pcCYwDQYJKoZIhvcNAQEL | ||
BQAwbTELMAkGA1UEBhMCREUxDTALBgNVBAgMBHRlc3QxDTALBgNVBAcMBHRlc3Qx | ||
DTALBgNVBAoMBHRlc3QxDTALBgNVBAsMBHRlc3QxDTALBgNVBAMMBHRlc3QxEzAR | ||
BgkqhkiG9w0BCQEWBHRlc3QwHhcNMTkwNTAyMTI1MDEwWhcNMjAwMTAxMTI1MDEw | ||
WjBtMQswCQYDVQQGEwJERTENMAsGA1UECAwEdGVzdDENMAsGA1UEBwwEdGVzdDEN | ||
MAsGA1UECgwEdGVzdDENMAsGA1UECwwEdGVzdDENMAsGA1UEAwwEdGVzdDETMBEG | ||
CSqGSIb3DQEJARYEdGVzdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB | ||
AMjsyAZJUAQtR8cw9zfQoUOitzAB/H7swM2eH/wMHmMP2hxupcFJNeDirQdyv+Ma | ||
EoARr8TNtcHSyEnszsE63jwB7TlwiuzdZp7lTNkxeXuWLhW1EGmRt1DwKjOa4AJj | ||
OoXH8qcXeg5Qou+DGX1sEMdYWbaIRT94QMgdnTGqsNbpfcACqnr7P82YVPlIfNz9 | ||
smoSOhHGUl9SVwh4l3KoUlih7FSyjbytin/tnzigoBI1r3qWYjgJ1e1hfKHY9vMV | ||
2VLcSPbS8zYrmUBBYPhBtGwvk6ZnuJ/3n7kmXykifJ1T+Fa08BrnpQKARwSIe1Hs | ||
ZmOwi51eaMJz3AvpAFwEOJ8CAwEAAaNTMFEwHQYDVR0OBBYEFJIO6DtVanARXYTI | ||
OK2jPqcTbfEOMB8GA1UdIwQYMBaAFJIO6DtVanARXYTIOK2jPqcTbfEOMA8GA1Ud | ||
EwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHq9p07hQRSwGJkKB1XUN/oJ | ||
KzJU+bIgbtEKL0BqTUXlkTO/hK/IX6N2xrlaIXW7nFa5i2djFFhBQlYV0M6KZ6zE | ||
KpTmsdT+2dKghRuRcr5m5eecb0jak6Jo55eCfda9yxsTHH2piPYOUx3ryzcmtauQ | ||
TAkNc/3ruOgLt1M86POjvY1QqJ0HEH8FfhGG6R05ikHLpLV26nLU2jiz9O0QzxVj | ||
auJLdCdPaPa5r713dPUQi28b+4HuDmQWHl1UlHO3YD3yLJcjXg0jLTP0LnYcR8gF | ||
Bf82E44l113d/8LxTufszbYIy7jtRisiOnf+8GrYJLz/Vb7LJfRxM3tFvDDVbR8= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDI7MgGSVAELUfH | ||
MPc30KFDorcwAfx+7MDNnh/8DB5jD9ocbqXBSTXg4q0Hcr/jGhKA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WFJvRftQKMbXuvgU9R3f | ||
wPyOTGkYnUSxIROAMF37g+K7GYSQ5vhIDh0wfMmlWLUJLqw7dK539fDNrDk3iurF | ||
vEL1McFm6+EsGRHQ5sh4+uKcvP1QLcboQodpYps1sYTMUDHmGl60G0xCgQKBgQCr | ||
VnaOaTb5BT8Jb0F6RCnFQH4xXRsTdpVgMJLhDw2iT7pBOiEsRcp2SobRjRFEzj/z | ||
yfYj5wZiALma1ZBXzo3YfwNli+CrtKyu/lzIq1+X87ECGvPz3fTioQaINUeV4T3K | ||
hZoG27NaH8j12pgie6gmA+ohKfspz3ZtzASN6tvz9wKBgHAzePaAZB6FbcLRqE4y | ||
odtp/lgusr8fLRczBYFJClKkkUu6bRzHRqPiwoTeUXyGagr6gD6rPRiE5/uI/RFO | ||
DYkySfHz5ltCu/D45roCsIY61f0D5egprXcNX4FoySM9J1PDzcwmKLQthvXYNTA9 | ||
Kzreu5GwGp1GgXa1bH39KUfB | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDxzCCAq+gAwIBAgIUZb8GBHZtBKosUvi7FHghXz23p6kwDQYJKoZIhvcNAQEL | ||
BQAwczELMAkGA1UEBhMCREUxDjAMBgNVBAgMBXRlc3QyMQ4wDAYDVQQHDAV0ZXN0 | ||
MjEOMAwGA1UECgwFdGVzdDIxDjAMBgNVBAsMBXRlc3QyMQ4wDAYDVQQDDAV0ZXN0 | ||
MjEUMBIGCSqGSIb3DQEJARYFdGVzdDIwHhcNMTkwNTAyMTI0MzI3WhcNMjEwMTAx | ||
MTI0MzI3WjBzMQswCQYDVQQGEwJERTEOMAwGA1UECAwFdGVzdDIxDjAMBgNVBAcM | ||
BXRlc3QyMQ4wDAYDVQQKDAV0ZXN0MjEOMAwGA1UECwwFdGVzdDIxDjAMBgNVBAMM | ||
BXRlc3QyMRQwEgYJKoZIhvcNAQkBFgV0ZXN0MjCCASIwDQYJKoZIhvcNAQEBBQAD | ||
ggEPADCCAQoCggEBALi+oiglokdSARLm2Db+eVFb4A0lzyVuM70logAAIGWkTEhX | ||
LVQWY1klpYpxWtm8Gg+9mgw72p4x8hnI9WdNJlp6iYefXPmizebMPUsVTGL39uSi | ||
NqK/CvS/vynjGb3GNntyExeSyDthmthX1ruAiygPUFoJx2s7m0I7kHzX6jOxHIQM | ||
DKcAgDRr9tuz2/mrVb74+Nk0RghJ5Dfo8V+xkt3LrIfM9w90oVKwGTQOcOHcu3cx | ||
CKBmyUazqeoM76m/luFPUtUmHakRD+pfGEiMEiwqxtwEaw2WoX/0i3FKNMboDoGk | ||
TAExMNwy3gE1FLMQ3W2uaxmMvmllUgVfILRtE90CAwEAAaNTMFEwHQYDVR0OBBYE | ||
FIQ9QbQ1WCPmS1ExmQuc5s1ufNAhMB8GA1UdIwQYMBaAFIQ9QbQ1WCPmS1ExmQuc | ||
5s1ufNAhMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAKXuoBcZ | ||
fVo80hitWpAk57ms4Pg84h9GSfer0H1hKmEdOsf4s9ZsPOVMGyh3xyKVyb/WjypT | ||
ecDQCXZhm5EYpv8RfJY5E7spqHaMoo7V8GV2oiGzTHglOhmuNmUMX6voPkhX/S8O | ||
ZC3KP8am7IXVW4firotWNH3qxyoGsoCI8SVVPwnZSO8QEgR1cu0hEb5P+KcQly+y | ||
uuk7e5EP8qCbdeEmWda8fRbd714+bxa97XUwKi8v8s9vXfJLBbhdI8Ctd36ALuZE | ||
R/OIVp4P2cibzALj5l5NgQlN0PfwPckWIZfc8+zch/5+EqlJh6TKniE+6Ex/hXTN | ||
cSJRvt1eBbotMk0= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQC4vqIoJaJHUgES | ||
5tg2/nlRW+ANJc8lbjO9JaIAACBlpExIVy1UFmNZJaWKcVrZvBoPvZoMO9qeMfIZ | ||
yPVnTSZaeomHn1z5os3mzD1LFUxi9/bkojaivwr0v78p4xm9xjZ7chMXksg7YZrY | ||
V9a7gIsoD1BaCcdrO5tCO5B81+ozsRyEDAynAIA0a/bbs9v5q1W++PjZNEYISeQ3 | ||
6PFfsZLdy6yHzPcPdKFSsBk0DnDh3Lt3MQigZslGs6nqDO+pv5bhT1LVJh2pEQ/q | ||
XxhIjBIsKsbcBGsNlqF/9ItxSjTG6A6BpEwBMTDcMt4BNRSzEN1trmsZjL5pZVIF | ||
XyC0bRPdAgMBAAECggEBAKYg3wbFGNGTn12U8nc5jHSp7qdECat6FtKPJcdkVb2w | ||
6dvfcOZ9n2cJ4HvHBVBowvLGp+E6bZP2C+Q9/tee289fA49OsjfVu9xAaxm6lE8m | ||
9gCREhp1Ou/uAYQ0MPCjbljBswNuvdoQIkNLcdB4fipO4w2kX4xBNJNxprNtIbDK | ||
m0KPHmn4bcliFGjAEJMirZ17gutPBKsGZ/FyTshPDeKeES7IuSPcXyJZdtqhlLy+ | ||
YVLcUtxTLUcV8UP150vNWOM1ofAphFEmLEF980tzPdFlrz3GtDkjPYTkdvoVVlSr | ||
Yr9H8uPGigxDFuL59X0vlsQmSd4/2/q1TE/hLesi8C0CgYEA3rwYPOZyjNYtNrdl | ||
H3jdn/kttPmfns7Q9hURFA/7M1rrPjW7yoVzJ1zSdr2jZExNMhpKx1ru0Aai3B4c | ||
uiylMSIRgSPJ/mdFUROt3mYRfiktPQlYGfBdYFqMcRdhCtZr2Zv5Fuz2h3J7MHoJ | ||
wsxfaNbCzs4FxTZlocxhNKvSOnMCgYEA1FYMhjEgtOG5FtNN8/ldDlcMtpImkMHw | ||
xk/NOaopgN6dtZH0FmMNOO3JrqAH7rN1mCuVoPXubxdDJN3TaXk+MDXPjXEtMDeU | ||
yfBVYjUfs8je9o7O8BfuRXNLCu6pmPYPRb6KREVZKUJ1/0e8Vc9e0AjRTb76B508 | ||
ml84diSIVG8CgYEAg6RL9wKExXR4eJRf8f/vjPMq7oFys9usaST+WQsw/qNH0hbU | ||
DNhevO8BfSiL/2WRYoFjnPvDlbO2Yb5yYB6u66ElE1xhsDi9ITQuWPmecSBJGoAB | ||
UCNeLOqXgue8dTlRuOWUjNY0xs0EvhwC1N0RrtbvgGcHxg1meABhm03KDL0CgYEA | ||
rne5uLU7M4TYyTl8LsAxRuwdxRGXYJAKX1gIv53ilkHUgfFYBuECZ0ly0uopOmf4 | ||
cr01J9mLPXp2sB8Ya+y0PXapgIWC5MB2n+q6rYQK9XVSRnKW9E4leKk/+s6ZSda8 | ||
O8lQ4MG+fhlezQ/LXxKRzAvCtsf5tzHqLsmYofJolj8CgYEA3dvkJ7wjN2FQu0Td | ||
0+n6wot8vaKvlu9WnsiNeQVB20xAVqlDq7oTs4YA1xK60LNk+04OzQyV9USRMyM2 | ||
JEMCoGlnfYiQQ8B1fjSSsK5SoyYiuL8IBuHrjnsLLiCRxBv79353O3T+Q4Qb2M9H | ||
eJfcThRw9/qPNWJu/dBjvJh17j8= | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env sh | ||
PID_FILE=${PORT} | ||
if [ -z "${PORT}" ]; then | ||
(>&2 echo "Variable PORT is required") | ||
exit 255 | ||
fi | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
/usr/bin/openssl s_client -showcerts \ | ||
-servername localhost -connect localhost:$PORT \ | ||
</dev/null 2>/dev/null \ | ||
| /usr/bin/openssl x509 -noout -serial \ | ||
| /usr/bin/cut -d'=' -f2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env sh | ||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
sudo httpd -k restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env sh | ||
PID_FILE=${PID_FILE} | ||
if [ -z "${PID_FILE}" ]; then | ||
(>&2 echo "Variable PID_FILE is required") | ||
exit 255 | ||
fi | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
if [ -f "${PID_FILE}" ]; then | ||
PID=$(cat ${PID_FILE}) | ||
if [ -n "${PID}" -a -d "/proc/${PID}" ]; then | ||
sudo nginx -s reload | ||
exit 0 | ||
fi | ||
fi | ||
sudo nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env sh | ||
PID_FILE=${PID_FILE} | ||
if [ -z "${PID_FILE}" ]; then | ||
(>&2 echo "Variable PID_FILE is required") | ||
exit 255 | ||
fi | ||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
if [ -f "${PID_FILE}" ]; then | ||
PID=$(cat ${PID_FILE}) | ||
if [ -n "${PID}" -a -d "/proc/${PID}" ]; then | ||
exit 0 | ||
fi | ||
fi | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.