Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tp-www-ssl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vincent MAZENOD
tp-www-ssl
Commits
0ffb63bd
Commit
0ffb63bd
authored
7 years ago
by
mazenovi
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Vagrantfile
+1
-1
1 addition, 1 deletion
Vagrantfile
provision.sh
+5
-3
5 additions, 3 deletions
provision.sh
with
6 additions
and
4 deletions
Vagrantfile
+
1
−
1
View file @
0ffb63bd
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"
debian/jessie
64"
config
.
vm
.
box
=
"
ubuntu/xenial
64"
config
.
vm
.
network
"forwarded_port"
,
guest:
80
,
host:
8080
config
.
vm
.
network
"forwarded_port"
,
guest:
443
,
host:
8443
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
...
...
This diff is collapsed.
Click to expand it.
provision.sh
+
5
−
3
View file @
0ffb63bd
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment