summaryrefslogtreecommitdiffstats
path: root/certs/update-certs.py
diff options
context:
space:
mode:
authormonster <[email protected]>2022-07-07 14:41:37 +0300
committermonster <[email protected]>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /certs/update-certs.py
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
fix ya.make
Diffstat (limited to 'certs/update-certs.py')
-rwxr-xr-xcerts/update-certs.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/certs/update-certs.py b/certs/update-certs.py
deleted file mode 100755
index 13a2dabc941..00000000000
--- a/certs/update-certs.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env python2
-# -*- coding: utf-8 -*-
-
-import urllib2
-
-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()
-
-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)
-