Commit c27d7349 authored by Daniel Stan's avatar Daniel Stan

sous dossier pour les certs

parent 7473526c
#!/bin/bash
DOMAINS=""
DIR=/tmp/letsencrypt-auto
letsencrypt=/usr/bin/certbot
case $(/bin/hostname) in
kugel)
DOMAINS="$DOMAINS -d kugel.tudo.re"
;;
esac
mkdir -p $DIR
$letsencrypt certonly -a webroot --webroot-path=$DIR $DOMAINS
#$letsencrypt renew -a webroot --webroot-path=$DIR $DOMAINS
#$letsencrypt renew -a webroot --webroot-path=$DIR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment