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 | |
domains=(test.domain.com www.test.domain.com) | |
rsa_key_size=4096 | |
data_path="./data/certbot" | |
email="put-email-address" # Adding a valid address is strongly recommended | |
staging=1 # Set to 1 if you're testing your setup to avoid hitting request limits | |
if [ -d "$data_path" ]; then | |
read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision |