-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbypass_container_env.sh
60 lines (51 loc) · 1.66 KB
/
bypass_container_env.sh
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
## These values will override container env variables, and used by entrypoint.sh on every restart. To activate and customize the configurations wanted, remove one or more # sign.
## general
# export TZ=Europe/Paris
# export Y_LANGUAGE=fr_FR
# export Y_DEBUG=no
# export Y_IP=
# export Y_IP_USE_PUBLIC=no
# export Y_IP_CHECK_URL=http://whatismyip.akamai.com
# export Y_IP_CHECK_URL_TIMEOUT=5
# export Y_CRED_EXPORT=/data/ssl/cred
## http
# export Y_HTTP=yes
# export Y_HTTP_SHARE_CERT=no
# export Y_HTTP_SHARE_FOLDER=/data/ssl/www
# export Y_HTTP_PORT=80
# export Y_HTTP_PORT_SECURE=443
## crl, frequency is in seconde
# export Y_CRL=yes
# export Y_CRL_FREQUENCY="*/15 * * * *"
# export Y_CRL_SEC_NEXT=2678400
## ocsp
# export Y_OCSP=yes
# export Y_OCSP_PORT=8080
## default certificate
# export Y_KEY_SIZE=2048
# export Y_DAYS=3650
# export Y_DAYS_CLIENT=365
# export Y_KEY_USAGE="nonRepudiation, digitalSignature, keyEncipherment"
# export Y_EXTENDED_KEY_USAGE="serverAuth, clientAuth"
## Server
# export Y_CA_PASS=ca
# export Y_DNS=
# export Y_CN=
# export Y_COUNTRY_NAME=FR
# export Y_STATE_OR_PROVINCE_NAME=Ile-de-France
# export Y_LOCALITY_NAME=Paris
# export Y_ORGANIZATION_NAME=Test
# export Y_ORGANIZATIONAL_UNIT_NAME=Web
# export [email protected]
## random client
# export Y_RANDOM_CLIENT=
# export Y_RANDOM_CLIENT_REVO=yes
# export Y_RANDOM_CLIENT_DAYS=731
## test client
# export Y_TEST_CLIENT_CREATE=no
# export Y_TEST_CLIENT_PREFIX=tux1
# export Y_TEST_CLIENT_CN=pc1.test.lan
# export Y_TEST_CLIENT_PASSWORD=1234
# export Y_TEST_CLIENT_REVO=yes
# export Y_TEST_CLIENT_DAYS=31
# export Y_TEST_CLIENT_SAN=DNS.1:pc1.my.net,IP.1:192.168.1.10