aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-02-10 16:45:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:08 +0300
commit4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch)
tree506dac10f5df94fab310584ee51b24fc5a081c22 /certs
parent2d37894b1b037cf24231090eda8589bbb44fb6fc (diff)
downloadydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'certs')
-rwxr-xr-xcerts/update-certs.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/certs/update-certs.py b/certs/update-certs.py
index 13a2dabc94..6df6809a95 100755
--- a/certs/update-certs.py
+++ b/certs/update-certs.py
@@ -3,19 +3,19 @@
import urllib2
-COMMON_ROOT_CAS_URL = "https://mkcert.org/generate"
-YANDEX_INTERNAL_CAS_URL = "https://crls.yandex.net/allCAs.pem"
+COMMON_ROOT_CAS_URL = "https://mkcert.org/generate"
+YANDEX_INTERNAL_CAS_URL = "https://crls.yandex.net/allCAs.pem"
-def get_text(url):
- return urllib2.urlopen(url).read()
+def get_text(url):
+ return urllib2.urlopen(url).read()
-common_root_cas = get_text(COMMON_ROOT_CAS_URL)
-yandex_internal_cas = get_text(YANDEX_INTERNAL_CAS_URL)
+common_root_cas = get_text(COMMON_ROOT_CAS_URL)
+yandex_internal_cas = get_text(YANDEX_INTERNAL_CAS_URL)
-with open("cacert.pem", "wt") as target:
- target.write(common_root_cas)
- target.write(yandex_internal_cas)
-
-with open("yandex_internal.pem", "wt") as target:
- target.write(yandex_internal_cas)
+with open("cacert.pem", "wt") as target:
+ target.write(common_root_cas)
+ target.write(yandex_internal_cas)
+with open("yandex_internal.pem", "wt") as target:
+ target.write(yandex_internal_cas)
+