Skip to content

Commit 0da9067

Browse files
committed
use traefik certificates combined with allow-insecure-localhost flag
1 parent 6db2980 commit 0da9067

File tree

3 files changed

+0
-93
lines changed

3 files changed

+0
-93
lines changed

bin/xampp-env

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@ function up() {
55
local network=local base=$(dirname $(readlink -f "$0"))/
66

77
# chrome://flags/#allow-insecure-localhost
8-
#
9-
# openssl req -new -newkey rsa:4096 -days 36500 -nodes -x509 \
10-
# -subj "/C=DE/ST=xampp/L=xampp/O=xampp/CN=*.localhost" \
11-
# -keyout localhost.key -out localhost.crt
12-
openssl verify ${base}/../resources/certs/localhost.crt > /dev/null 2>&1 || {
13-
sudo mkdir /usr/local/share/ca-certificates/docker-xampp-bin -p;
14-
sudo cp ${base}/../resources/certs/localhost.crt /usr/local/share/ca-certificates/docker-xampp-bin;
15-
sudo update-ca-certificates -v -f;
16-
}
178

189
docker network inspect ${network} > /dev/null 2>&1 || docker network create ${network} > /dev/null 2>&1
1910

resources/certs/localhost.crt

Lines changed: 0 additions & 32 deletions
This file was deleted.

resources/certs/localhost.key

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)