diff --git a/misc/ssl_stuff/gen_cert.sh b/misc/ssl_stuff/gen_cert.sh deleted file mode 100755 index 7a39881..0000000 --- a/misc/ssl_stuff/gen_cert.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 3650 -config ssl.conf -nodes -sha256 -extensions 'req_ext' diff --git a/misc/ssl_stuff/ssl.conf b/misc/ssl_stuff/ssl.conf deleted file mode 100644 index 805b164..0000000 --- a/misc/ssl_stuff/ssl.conf +++ /dev/null @@ -1,62 +0,0 @@ -[ req ] -default_bits = 2048 -distinguished_name = req_distinguished_name -req_extensions = req_ext -extensions = req_ext -prompt = no - -[ req_distinguished_name ] -countryName = CN -stateOrProvinceName = Beijing -localityName = Xicheng -organizationName = oYoHim - -[ req_ext ] -subjectAltName = @alt_names - -[ alt_names ] -DNS.1 = api-os-takumi.mihoyo.com -DNS.2 = api-takumi.mihoyo.com -DNS.3 = autopatchhk.yuanshen.com -DNS.4 = autopatchcn.yuanshen.com -DNS.5 = dispatchosglobal.yuanshen.com -DNS.6 = hk4e-api-os-static.mihoyo.com -DNS.7 = hk4e-api-static.mihoyo.com -DNS.8 = hk4e-api-os.mihoyo.com -DNS.9 = hk4e-api.mihoyo.com -DNS.10 = hk4e-sdk-os.mihoyo.com -DNS.11 = hk4e-sdk.mihoyo.com -DNS.12 = log-upload-os.mihoyo.com -DNS.13 = log-upload.mihoyo.com -DNS.14 = osusadispatch.yuanshen.com -DNS.15 = oseurodispatch.yuanshen.com -DNS.16 = osasiadispatch.yuanshen.com -DNS.17 = sdk-os-static.mihoyo.com -DNS.18 = sdk-static.mihoyo.com -DNS.19 = webstatic-sea.mihoyo.com -DNS.20 = webstatic.mihoyo.com -DNS.21 = uploadstatic-sea.mihoyo.com -DNS.22 = uploadstatic.mihoyo.com -DNS.23 = devlog-upload.mihoyo.com -DNS.24 = localhost -DNS.25 = api-os-takumi.hoyoverse.com -DNS.26 = hk4e-api-os.hoyoverse.com -DNS.27 = hk4e-api-os-static.hoyoverse.com -DNS.28 = hk4e-sdk-os.hoyoverse.com -DNS.29 = hk4e-sdk-os-static.hoyoverse.com -DNS.30 = sdk-os-static.hoyoverse.com -DNS.31 = sdk-os.hoyoverse.com -DNS.32 = webstatic-sea.hoyoverse.com -DNS.33 = uploadstatic-sea.hoyoverse.com -DNS.34 = api-takumi.hoyoverse.com -DNS.35 = hk4e-api.hoyoverse.com -DNS.36 = hk4e-api-static.hoyoverse.com -DNS.37 = hk4e-sdk.hoyoverse.com -DNS.38 = hk4e-sdk-static.hoyoverse.com -DNS.39 = sdk-static.hoyoverse.com -DNS.40 = sdk.hoyoverse.com -DNS.41 = webstatic.hoyoverse.com -DNS.42 = uploadstatic.hoyoverse.com -DNS.43 = account.hoyoverse.com -DNS.44 = api-account-os.hoyoverse.com -DNS.45 = api-account.hoyoverse.com