-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
45 lines (30 loc) · 1.21 KB
/
Makefile
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
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-build:
docker-compose run --service-ports cryptomator-webdav-dev
up-cryptomator-webdav:
docker-compose up cryptomator-webdav
build-cryptomator-webdav:
docker-compose build cryptomator-webdav