Skip to content

Commit 16dd9cc

Browse files
committed
[chores] Neutral defaults for locale settings
Made default locale, timezone and other settings more neutral. (cherry picked from commit 2d562f2)
1 parent b96caa7 commit 16dd9cc

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ UWSGI_THREADS=2
2626
UWSGI_LISTEN=100
2727
# Additional
2828
SSL_CERT_MODE=SelfSigned
29-
TZ=Asia/Kolkata
29+
TZ=UTC
3030
CERT_ADMIN_EMAIL=example@example.org
3131
DJANGO_LANGUAGE_CODE=en-gb
3232
DB_NAME=openwisp
@@ -35,9 +35,9 @@ OPENWISP_GEOCODING_CHECK=True
3535
# X509 default CA & Certs Information
3636
X509_NAME_CA=default
3737
X509_NAME_CERT=default
38-
X509_COUNTRY_CODE=IN
39-
X509_STATE=Delhi
40-
X509_CITY=New Delhi
38+
X509_COUNTRY_CODE=CH
39+
X509_STATE=Geneva
40+
X509_CITY=Geneva
4141
X509_ORGANIZATION_NAME=OpenWISP
4242
X509_ORGANIZATION_UNIT_NAME=OpenWISP
4343
X509_EMAIL=certificate@example.com

docs/user/settings.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,22 +1040,22 @@ X509 Certificates
10401040
- **Explanation:** ISO code of the country of issuance of the certificate.
10411041
- **Valid Values:** Country code, see list `here
10421042
<https://countrycode.org/>`__.
1043-
- **Default:** ``IN``.
1043+
- **Default:** ``CH``.
10441044

10451045
``X509_STATE``
10461046
~~~~~~~~~~~~~~
10471047

10481048
- **Explanation:** Name of the state / province of issuance of the
10491049
certificate.
10501050
- **Valid Values:** STRING.
1051-
- **Default:** ``Delhi``.
1051+
- **Default:** ``Geneva``.
10521052

10531053
``X509_CITY``
10541054
~~~~~~~~~~~~~
10551055

10561056
- **Explanation:** Name of the city of issuance of the certificate.
10571057
- **Valid Values:** STRING.
1058-
- **Default:** ``New Delhi``.
1058+
- **Default:** ``Geneva``.
10591059

10601060
``X509_ORGANIZATION_NAME``
10611061
~~~~~~~~~~~~~~~~~~~~~~~~~~

images/openwisp_base/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ ENV DASHBOARD_APP_SERVICE=dashboard \
157157
VPN_CLIENT_NAME=default-management-vpn \
158158
X509_NAME_CA=default \
159159
X509_NAME_CERT=default \
160-
X509_COUNTRY_CODE=IN \
161-
X509_STATE=Delhi \
162-
X509_CITY="New Delhi" \
160+
X509_COUNTRY_CODE=CH \
161+
X509_STATE=Geneva \
162+
X509_CITY=Geneva \
163163
X509_ORGANIZATION_NAME=OpenWISP \
164164
X509_ORGANIZATION_UNIT_NAME=OpenWISP \
165165
X509_EMAIL=certificate@example.com \

0 commit comments

Comments
 (0)