Skip to content
Snippets Groups Projects
Commit 0ffb63bd authored by mazenovi's avatar mazenovi
Browse files

adapt to xenial and fix root.crt rather than .ca

parent 72e43919
No related branches found
No related tags found
No related merge requests found
Vagrant.configure("2") do |config|
config.vm.box = "debian/jessie64"
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 8443
config.vm.provider "virtualbox" do |vb|
......
......@@ -70,10 +70,12 @@ sudo systemctl reload apache2.service
# STEP 6 - install ssl benchmark
echo "install ssl-decoder to benchmark (https://github.com/RaymiiOrg/ssl-decoder)"
echo "install some system dependencies"
sudo apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev \
#libjpeg62-turbo-dev
sudo apt-get install -y libfreetype6-dev libmcrypt-dev \
libpng12-dev zlib1g-dev libicu-dev g++ python2.7 python-all-dev \
python-netaddr perl dnsutils wget curl git
sudo apt-get -y install php5 php5-intl php5-mcrypt php5-gd php5-json php5-curl
#sudo apt-get -y install php5 php5-intl php5-mcrypt php5-gd php5-json php5-curl
sudo apt-get -y install php php-intl php-mcrypt php-gd php-json php-curl
echo "for any changes to take affect you need to restart apache"
sudo apache2ctl restart
......@@ -181,7 +183,7 @@ sudo sed -i 's/ssl-cert-snakeoil.key/my.key.pem/' /etc/apache2/sites-enabled/def
echo "restart apache to take modifcations"
sudo systemctl reload apache2.service
echo "import rootca.key in your browser ... do you know that you truster all these CA?"
echo "import rootca.crt in your browser ... do you know that you truster all these CA?"
echo "browse https://0.0.0.0:8443/ -> cert doesn't match domain name in url"
echo "you can fake www.mydom.com in our local resolver"
echo "type \"sudo cat '0.0.0.0 www.mydom.com' > /etc/hosts\" on your local machine"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment