view renewSsl.sh @ 16:50a1fe272c10

more security
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 01 Oct 2023 21:36:34 -0600
parents dfc36e7ed22c
children
line wrap: on
line source

#!/bin/bash

set -e

cd "$1";

ROOTPWD=$(pwd);

cd letsencrypt;
./acme.sh --renew-all --cert-home "$ROOTPWD/local/ssl" --config-home "$ROOTPWD"/letsencrypt/config;

sudo $(which nginx) -s reload;