View ssl_client_cert_if.conf
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
## | |
# I wanted to use same ssl client certificate CA in nginx for multple client certs | |
# but restrict the users outside our organisation accessing everything. | |
# Because I can decide what to put into the emailAddress I can force verify everything and only pass the proper users. | |
## | |
## | |
# This way you can restrict users only with email addresses from @koodimonni.fi | |
# Put this into http context in nginx configs | |
## |
View post_install.sh
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
#!/bin/bash | |
curl_check () | |
{ | |
echo "Checking for curl..." | |
if command -v curl > /dev/null; then | |
echo "Detected curl..." | |
else | |
echo "Installing curl..." | |
apt-get install -q -y curl |