suppress cert check from phpmyadmin.net
Supress the certificate check and validate a file has the pre-detemined checksum due to root certificate processing issues on EOL Ubuntu 14.04 OS.
This commit is contained in:
parent
cec1d4395d
commit
4556f96fe4
|
@ -10,7 +10,8 @@ include_recipe 'metasploitable::php_545'
|
|||
|
||||
bash "download and extract phpmyadmin" do
|
||||
code <<-EOH
|
||||
wget -c -t 3 -O /tmp/phpMyAdmin-3.5.8-all-languages.tar.gz https://files.phpmyadmin.net/phpMyAdmin/3.5.8/phpMyAdmin-3.5.8-all-languages.tar.gz
|
||||
wget -c -t 3 --no-check-certificate -O /tmp/phpMyAdmin-3.5.8-all-languages.tar.gz https://files.phpmyadmin.net/phpMyAdmin/3.5.8/phpMyAdmin-3.5.8-all-languages.tar.gz
|
||||
echo "a129d4f03901c047799f634b122734ab687b48975563c87adbf5dea679676e11 /tmp/phpMyAdmin-3.5.8-all-languages.tar.gz" | shasum -a 256 --check --status
|
||||
tar xvfz /tmp/phpMyAdmin-3.5.8-all-languages.tar.gz -C /var/www/html
|
||||
mv /var/www/html/phpMyAdmin-3.5.8-all-languages /var/www/html/phpmyadmin
|
||||
EOH
|
||||
|
|
Loading…
Reference in New Issue