Subversion Repositories ALCASAR

Rev

Rev 2581 | Rev 2588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2581 Rev 2586
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2581 2018-07-26 10:23:24Z rexy $
2
#  $Id: alcasar.sh 2586 2018-07-28 17:47:13Z tom.houdayer $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 1918... Line 1918...
1918
##################################################################
1918
##################################################################
1919
letsencrypt()
1919
letsencrypt()
1920
{
1920
{
1921
	echo "Installing Let's Encrypt client..."
1921
	echo "Installing Let's Encrypt client..."
1922
 
1922
 
-
 
1923
	# Remove potential old installers
-
 
1924
	rm -rf /tmp/acme.sh-*
-
 
1925
 
1923
	# Extract acme.sh
1926
	# Extract acme.sh
1924
	tar xzf ./conf/letsencrypt-client/acme.sh-*.tar.gz -C /tmp/
1927
	tar xzf ./conf/letsencrypt-client/acme.sh-*.tar.gz -C /tmp/
1925
 
1928
 
1926
	pwdInstall=$(pwd)
1929
	pwdInstall=$(pwd)
1927
	cd /tmp/acme.sh-*
1930
	cd /tmp/acme.sh-*