-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (46 loc) · 1.97 KB
/
Makefile
File metadata and controls
68 lines (46 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
VERSION ?= 0.6.2-1
all: build-cryptomator-webdav
@echo "Default target"
test-curl-cacert:
curl -i --cacert config/stunnel.pem https://127.0.0.1:18081/vault/
test-curl-cacert-clientcert:
curl -i --cacert config/stunnel.pem --cert config/stunnel.pem https://127.0.0.1:18081/vault/
test-rclone:
rclone ls vault:
test-rclone-cacert:
rclone --ca-cert config/stunnel.pem ls vault:
test-rclone-cacert-clientcert:
rclone --ca-cert config/stunnel.pem --client-cert config/stunnel.pem --client-key config/stunnel.pem ls vault:
gen-cert:
openssl req -new -x509 -days 3650 -config config/pem.conf -out config/stunnel.pem -keyout config/stunnel.pem
view-cert:
openssl x509 -text -in config/stunnel.pem
view-pkc-cert:
openssl pkcs12 -info -in config/stunnel.p12
convert-cert:
openssl pkcs12 -export -legacy -in config/stunnel.pem -inkey config/stunnel.pem -out config/stunnel.p12 -nodes
openssl-remote-connect:
openssl s_client -connect 127.0.0.1:18081
openssl-remote-client-cert:
openssl s_client -cert config/stunnel.pem -connect 127.0.0.1:18081
run-dev-env:
docker-compose run cryptomator-webdav-env
run-dev-build:
docker-compose run --rm --remove-orphans --service-ports cryptomator-webdav-dev
run-dev-build-passfile:
docker-compose run --rm --remove-orphans --service-ports cryptomator-webdav-passfile-dev
up-cryptomator-webdav:
docker-compose up cryptomator-webdav
build-cryptomator-webdav:
docker-compose build cryptomator-webdav
test-cryptomator-webdav-http:
curl -X PROPFIND http://127.0.0.1:8080/vault/ -H "Depth: 1"
test-cryptomator-webdav-https:
curl -k -X PROPFIND https://127.0.0.1:8443/vault/ -H "Depth: 1"
test-cryptomator-webdav-https-host:
curl -k -X PROPFIND https://127.0.0.1:18081/vault/ -H "Depth: 1"
docker-tag-cryptomator-webdav:
docker tag greycubesgav/cryptomator-webdav:latest greycubesgav/cryptomator-webdav:$(VERSION)
docker-push-cryptomator-webdav:
docker push greycubesgav/cryptomator-webdav:$(VERSION)
docker push greycubesgav/cryptomator-webdav:latest