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/sh | |
echo 'Content-Type: text/plain' | |
echo '' | |
echo -n "Kernel:\t\t\t"; uname -sr | |
echo -n "Uptime:\t\t\t"; uptime -p | |
echo "Gateway interface:\t$GATEWAY_INTERFACE\nServer software:\t$SERVER_SOFTWARE\nServer protocol:\t$SERVER_PROTOCOL\nServer address:\t\t$SERVER_ADDR\nServer port:\t\t$SERVER_PORT\nServer name:\t\t$SERVER_NAME" |
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/sh | |
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=GB/ST=Wonderland/L=Wonderland/O=Alice/CN=localhost" -keyout localhost.key -out localhost.crt |