htpasswd -nb <username> <password>
or
echo <username>:$(openssl passwd -apr1 <password>)
htpasswd -nb <username> <password>
or
echo <username>:$(openssl passwd -apr1 <password>)
#!/bin/sh | |
if [ -z "$1" ] | |
then | |
echo "Extract certificate and private key from pfx file for configuring TLS endpoints" | |
echo "Please provide pfx file as first argument" | |
exit 1 | |
fi | |
DOMAIN=${1%.*} |