From 08794c7bcf0315e9c7367ee146505ec48f5289b0 Mon Sep 17 00:00:00 2001 From: caret Date: Thu, 25 May 2023 22:57:02 -0500 Subject: [PATCH] Certs fixed actually this time no cap --- certs/cert.ext | 1 - certs/cert.pem | 18 ---------------- certs/key.pem | 28 ------------------------- certs/more.sh | 24 +++++---------------- certs/nesica1.csr | 37 +++++++++++++++++++-------------- certs/nesica1.key | 52 +++++++++++++++++++++++----------------------- certs/nesica1.pfx | Bin 0 -> 2613 bytes certs/nesys.csr | 38 ++++++++++++++++++--------------- certs/nesys.key | 52 +++++++++++++++++++++++----------------------- certs/nesys.pfx | Bin 0 -> 2485 bytes certs/nesys.srl | 1 - certs/root.csr | 36 +++++++++++++++++--------------- certs/root.key | 52 +++++++++++++++++++++++----------------------- certs/root.pfx | Bin 0 -> 2501 bytes certs/root.srl | 1 - src/main.rs | 9 +++++--- 16 files changed, 150 insertions(+), 199 deletions(-) delete mode 100644 certs/cert.ext delete mode 100644 certs/cert.pem delete mode 100644 certs/key.pem create mode 100644 certs/nesica1.pfx create mode 100644 certs/nesys.pfx delete mode 100644 certs/nesys.srl create mode 100644 certs/root.pfx delete mode 100644 certs/root.srl diff --git a/certs/cert.ext b/certs/cert.ext deleted file mode 100644 index 9ccb011..0000000 --- a/certs/cert.ext +++ /dev/null @@ -1 +0,0 @@ -subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net diff --git a/certs/cert.pem b/certs/cert.pem deleted file mode 100644 index 01a26ea..0000000 --- a/certs/cert.pem +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIC8zCCAdsCFDZ+Tm8tk3VYtBpdHnKbXA8YPPztMA0GCSqGSIb3DQEBCwUAMDUx -CzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMQ4wDAYDVQQDDAVu -ZXN5czAeFw0yMzA1MjYwMjU5MThaFw0yNTA1MjUwMjU5MThaMDcxCzAJBgNVBAYT -AkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMRAwDgYDVQQDDAduZXNpY2ExMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlmhbbsXne6zLyGTFESQUJvWh -Yb4PI7B1J/+btHgMMBCKB71sBVR7O7+G6+tO/iotTxzSFheunSUT5eVWJodMAh7x -2UwWcWZZhdHbzqTaUikCkQW7UGN+/ApoG1dGBAk5DSa9Fn52T7QYcSzcFIAFMIY5 -8yVYj9/22rkY/Bkof1TWT7B+/WckwoGYB6/2e6XGz74ly6sMURGRBySB7rm0BqiW -yIz9Rt5Kr4ZdAtUGziyNpDKClh37OLvOupGPSE8nAafKOrhidrRnc2APYJOQTDEi -chak4Pi87KiqvN1pjMdJQBsEyNgC7OkziJ34O2ZhpXFdATe8mxmjhL3T738A3wID -AQABMA0GCSqGSIb3DQEBCwUAA4IBAQA6APfNroAJiNCO4DfcoKA0K/7fX8F/+18L -KbXywW7iv8g6PHcZCqtI9UcJ2pnczMQxNwRPV+guxzHgKJY916/fdLXQeGyDwEo7 -opSnrcko817cDcpQMDQpEM/2CnNEf4sEal7UDbesmRWVSBhCsmcR8t5UlMxjUdO3 -4v2k8vxqoYj4Y71tyHC2GjmbVAp+20o+nLxGe/FM0vKDYAGwVwuchW71q2gymxCk -G0eNShalMxVozODpBQX8BTyOkFxB9HUt+n8FrG4wHeKcmLiOHinCUqwph/1Qo9Ld -cTYjpgmeXMnFeYPgeBDALAQcGsDpRGw8tcaNXYZTEDDa29ZCIHnn ------END CERTIFICATE----- diff --git a/certs/key.pem b/certs/key.pem deleted file mode 100644 index d22ed14..0000000 --- a/certs/key.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCWaFtuxed7rMvI -ZMURJBQm9aFhvg8jsH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ktuzYq -+VQiZSu/jP1ZwGLQofBof1pCFU+c1Enfhv1D86VMiynbjnJw+HJX5XJWpgq3308A -ynPrZFUNdAx0i1wp1KMtpF9KRvadpU8pzNmtHcl6mAL5aS0lzY0OQVvXAoGAWREy -Vg9w+Bt3K7QzRuiavWgzJlt+RkrdY4E4dUGypAWU7W+7iK1xRNMyatHqgFpeghvo -OcqFbsa/2bp+MNbj9yuJmCmiUeoXRdaZXR4pvkSFfGyadYssRAoCeTJ2V3pdsa9b -5UosetkGWk0ExuNcVX64irefdN8uiKesYCtck30CgYA7CnK1V7urPzpuSaodWpQq -xgxCFryRwcZraoP0gD5dfIPH/4fFX4hbtNYVqrPy4hT/bvmdgobrHCzQW+bZGqd4 -NCzoB1mTONTR6ZQmOwG8+6/7ZghLekCLahb0VDk30Onh1EkTphx2spEwZBOPDmrl -2RoKZxFSDiIZAMmjq5uVgA== ------END PRIVATE KEY----- diff --git a/certs/more.sh b/certs/more.sh index 1891911..1e32458 100644 --- a/certs/more.sh +++ b/certs/more.sh @@ -3,27 +3,13 @@ echo "This script removes all cert files in the directory." echo "Continue? Press enter!" read -rm *.key *.csr *.crt *.pem > /dev/null +rm *.srl *.key *.csr *.crt *.pem *.ext > /dev/null # Generate Root Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout root.key -x509 -days 3650 -out root.csr -subj "/C=JP/ST=A/L=A/CN=Taito Arcade Machine CA" +openssl req -newkey rsa:2048 -nodes -keyout root.key -x509 -days 3650 -out root.csr -subj "/C=JP/ST=A/L=A/CN=Taito Arcade Machine CA" \ + -addext "subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net" # Generate Second Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout nesys.key -out nesys.csr -subj "/C=JP/ST=A/L=A/CN=nesys" -# Sign with root cert -openssl x509 -req -in nesys.csr -CA root.csr -CAkey root.key -CAcreateserial -out nesys.csr -days 1825 +openssl req -newkey rsa:2048 -nodes -keyout nesys.key -out nesys.csr -CA root.csr -CAkey root.key -subj "/C=JP/ST=A/L=A/CN=nesys" -addext "subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net" -days 3650 # Generate Last Certificate and Key -openssl req -newkey rsa:2048 -nodes -keyout nesica1.key -out nesica1.csr -subj "/C=JP/ST=A/L=A/CN=nesica1" - -# Add domains -echo "subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net" > cert.ext -openssl req -in nesica1.csr -out nesica1.csr -config cert.ext - -# Sign with nesys cert -openssl x509 -req -in nesica1.csr -CA nesys.csr -CAkey nesys.key -CAcreateserial -out nesica1.csr -days 730 - -openssl x509 -in nesica1.csr -out cert.pem -outform PEM -openssl rsa -in nesica1.key -out key.pem -outform PEM - -echo "Use nesica1.pem and nesica1.key for the webserver!" - +openssl req -newkey rsa:2048 -nodes -keyout nesica1.key -out nesica1.csr -CA nesys.csr -CAkey nesys.key -subj "/C=JP/ST=A/L=A/CN=nesica1" -addext "subjectAltName = DNS:cert.nesys.jp,DNS:cert3.nesys.jp,DNS:data.nesys.jp,DNS:proxy.nesys.jp,DNS:nesys.taito.co.jp,DNS:fjm170920zero.nesica.net" -days 3650 diff --git a/certs/nesica1.csr b/certs/nesica1.csr index 01a26ea..836cf0e 100644 --- a/certs/nesica1.csr +++ b/certs/nesica1.csr @@ -1,18 +1,23 @@ -----BEGIN CERTIFICATE----- -MIIC8zCCAdsCFDZ+Tm8tk3VYtBpdHnKbXA8YPPztMA0GCSqGSIb3DQEBCwUAMDUx -CzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMQ4wDAYDVQQDDAVu -ZXN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EkDwg9x6+VuwrHpfGHPS7h2QJqCC4MLdfYlIBrKeAHH +CHvngrh/hNYs -----END CERTIFICATE----- diff --git a/certs/nesica1.key b/certs/nesica1.key index d22ed14..f3b4618 100644 --- a/certs/nesica1.key +++ b/certs/nesica1.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCWaFtuxed7rMvI -ZMURJBQm9aFhvg8jsHUn/5u0eAwwEIoHvWwFVHs7v4br607+Ki1PHNIWF66dJRPl -5VYmh0wCHvHZTBZxZlmF0dvOpNpSKQKRBbtQY378CmgbV0YECTkNJr0WfnZPtBhx -LNwUgAUwhjnzJViP3/bauRj8GSh/VNZPsH79ZyTCgZgHr/Z7pcbPviXLqwxREZEH -JIHuubQGqJbIjP1G3kqvhl0C1QbOLI2kMoKWHfs4u866kY9ITycBp8o6uGJ2tGdz -YA9gk5BMMSJyFqTg+LzsqKq83WmMx0lAGwTI2ALs6TOInfg7ZmGlcV0BN7ybGaOE -vdPvfwDfAgMBAAECggEAC4wchO8lu/2CsbJm3M+HyovuJWppkCRigj0iD6Nt0Bzc -9AYrbmdThL1KFv+8U1AapWnBiVetHLx1gB9w00ls4PbOO5AXYwJoGhmIBh/q8Qbb -/xVREbVp0ODdqEe1hObOXf+c4ca4v5rEi5/Vj69adqS/ezbhSz53Hci7LdOio8/Z -6i8aZZu0c7bvcYw89nKqHrtJ53xQRjJ3aQP8Vc7UvjKOohbX5I1K2dzriouSx1HG -7q273ZP1rKs5s49fQXPBH0sVRPa7W1aEgcNI8Kkki5ulx7rSd4sTFy4ltCxGAXeP -n+SfFFxKQz05zSbBjiiRwMTVVQDpcfdm8+sr3LAUDQKBgQC4dF5gCIL9q1fqcWJl -u0VMlxgQ9mvLsFUt/mLdzTbvjPIrfuukNw4FOfkAgX95nQcjM3nr8STd7DKZyV3M -VhP4A1iiswAOETy/N+SbAm3rL4ZrERoqWARcjvaDMos3LYZ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HN9uNAloiUFUZcwdfSp +KWA5EODn7b9CU7MG1aIPl0CBVUb2bfBdKp+Sj0RRAoGBAJ1GF43VZ9bu7jyQGnq8 +tE9FOtqhktmX00us/QARNcABCPgwhmQcH2g+IDykVxN1OL8cEgvWMxhoX5z9WsHK +ZNGSlH/Lwtw9mzdw+wOM1pyekpzy9zfDZO8MyjV2/PETGKAOGJrrnP8/bYH5akVH +swbGPRZ9ND2jSvLsjTqmA5UQ -----END PRIVATE KEY----- diff --git a/certs/nesica1.pfx b/certs/nesica1.pfx new file mode 100644 index 0000000000000000000000000000000000000000..c4137f74ae581398b89bacddc5b596bd2ea1ff3d GIT binary patch literal 2613 zcmV-53d;2`f(kJL0Ru3C3HJsGDuzgg_YDCD0ic2j=mdfZE>;4p#&mj($chDe6@ z4FLxRpn?R5FoFbx0s#Opf&_gA2`Yw2hW8Bt2LUh~1_~;MNQU~IkdkOz$3MdL!JWP}cLEow=q0zdt)s5`rYUScFK6?~JzB`&8)d_6Ru#pY0xpS#0qRZyn5#4cyB9?PAC z!N%PhqP3Bb6AgIx#G7Fl&*yL}5p>K6>d|u#q>wMr9^{6G zI5sDccN@0>T40#45{Xp2yA-|p>t3gvaD5MRsM1o`K^5K$I-d)3*=-qTfyr!Q6jm4Q zo2+QbA)FW;f=pxi7pW(^Eie%vHdz`g-*FE>Eik^V%m34o;u#~ZjzAn<*(VYn=KN)5 z%_a5z+&a{%+m4RaeNZ?zGIfQ<0*Dk?Y84JGvM7fw+gW}g@TsC&Txn&R5r+f)+F0-s z*?iz(@pr$G8LV~udz8ykT`ah7&iHh}GHbjS?06?yl?-_jirF%bc?tp~PbEMD0;<}; z=wNzlQL8SQ07si7YI^IKP0UXs{DyxjV{ogX_IRFm-}V;X_YWZA_($|y322SNlL)>+X7B5y!)yW(?yT8~1_7{`T;C|`+Obc1K*U&cA4_rck4h8;s zCpuJZ!QQ=PJArgo51v;V)D%qO2SP^f^X_PEO1rnU?^e8q3k4Gvfw-%Wxgo1vP+;Q}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E----- diff --git a/certs/nesys.key b/certs/nesys.key index 39af633..b2fddcb 100644 --- a/certs/nesys.key +++ b/certs/nesys.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCvV3S89t9SpvLm -6kp+Dl86M7YfGXmA5kbD3yuYB4W4rt+/ztqTxBhcyS4CCLXpWy8xCh/InrIwO1pr -gHSCIrKvPt1bsCofwo6EeGWehTVJTpQ8i4bzZ8x5WcgAvIMDAdKoH4UyevqIMNKl -tGjBW3rfeqbQp9bfjlN62gu/pfEnz3MdvJEf1xIYd8IC0BT8ecujitWzkcbguTYk -K28zmPERnpiGlZlhIZpHYUmUYHkq2Vea2o7gCMkCteyFz7EMhBnGXWZspxwQZs31 -cB2x7UT5YfrLuOTe/OdpqPb5Yv7cT++XUNzmzk4SHSf0l03kGjMxipppm1HXS+px -eHP4uRslAgMBAAECggEAHBBx6VrUJLz+7NG8KY/wUvb64+Bmb6ir0+bw6czubMBk -pKUdnAALbDJxEDdHsnl7RKybqLcpywl87+7n9vpJwj3cHTRFkb7Io9BHZ4dnn3uZ -w1ULvQK0mgmyNtf1WjJc/rbI0WsYlVrHJGmLSMN1F7bgY04x2KdFmkizD7ImNpo7 -0b6Z5xS7tYcGRzXi8Q1HZrI4rrBGV3h/2ojtvx2Dfk4p9XWg33v8zCCfQYL5LHMd -jWyVTsGJRFeXphR42pyYbhg0cYAnwHfVSctoOoM3CupjmtB/wPkpYXOxlqiD/1HM -SNCfQYk00Lu8R3sshPTdWRUp29Bv3are7OzGwH1i0QKBgQDs+0Dkdi1795GTa1Gj -4AZpcYHrwhOFbCjeJ3QMqe5we3F8hHkn/Fyq9dctwbwN4H1DzTMnfhMEk0lofWN9 -rUcBVotiSdlkBToJWK71YgvMiHCPpMW35dRJ2zMuESGyX5FaIfwENLN+WC93e3Pe -f3AUHyPGziF5vDCNo2nFR9tQvQKBgQC9adJoUsOL8fMiP8bsCt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jpgKVtOCL +FKj5krHvere/dRbPAApHShF9eJkDou/5xkipAoGAPtLxIQO5aEL6qEsqi+V2B1D+ +cWoMtejcFc9zqX7X1hW4f81J4b0v8sq9LAFig1H3jED22k40HxGlCH+FVcW+60Xt ++YmcGUEVep9R1bxYHD38fPtqh8bKW5ijc8TlCzflzEKI6tuJI8FSz6/5vI44AZCh +GxBnzf6gl7Y77kULrw8= -----END PRIVATE KEY----- diff --git a/certs/nesys.pfx b/certs/nesys.pfx new file mode 100644 index 0000000000000000000000000000000000000000..d2516c7e08735b1248eded060fc9a9559b89cfb2 GIT binary patch literal 2485 zcmY+^XE+;*9>;Ns#40(cRiTJd;~-XzQd?1bq(+RkLT#;3hZ>Dh6+0!A3N2E^Dr(m# zHQLxCS6b1gRvn>wjGCu?o_p`P_r?Fs_xC*immfHWy#WYdhGW?8v9QY}nNw>;=bw1pk>>N-!X{p9us6Fu^g*$NwwpeV?%CiZQ zl~Y*mGR{foSjhU(rt($-)1b4ABa*zs1>G>?u!~4op;YI5WH@hhDw(ebmsWbKMWD71 z-yhB4Q8_Bu922TAOa+&9+gNt2`$D!Zwmn6@5%u>Xmiw|c($qtwf$5zbTTQeN>WR_2 z!A+I9cQI0O!?BaGT@p#LB$Ia{;&EL?d9NdCg(LgnmrILHPTjzp<2A2>iAp11FSKPt z7q&jtwI%=Tqu1S~Q zzz&eb^TV+Y#A(G0AAdhic@uCjbyPk#_nipu!E}?(o)f-TGvO8Nk5*EZ^F9rdF)@+b zfW`~pw#7cAbz3G=jK3W?pxjJYbKYKkiJh`kmhW!48#vHzeccrswM$+zJh!u&4ZZR- z(I6F^)s#Ak_#LmfIH$FEu{2Fw(am$OLoCfGh(}OMk!SAcS+!}}vVoe{X&>}_qhomm zm`RQ1IPqonIyZ<@u@8FjFNP;!u3d|;@7&)GIeGjrcD14Hg)aGsATn{i^P>zHceMh; z+dAMtMYRl>1V7q~G_u)=&&wlRR`^`8N>K?^TYAU56Dn=7a<1q$fXnMmGSZ#jJ_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6(2`To))spjHo_Pe%wLRzO!b^<6c&-yLg ztn9``%X~~YTME8XlYI*&rEzHWPl|Dk5A0 z10lOx1e}#=KPbdgkd-|@^a-c!Kae6!*VaDhOY&FXh4PJ{x;%Wwo!@c$anP3Ul0yfS zexaNFI3nf7*_Rt!OF2YVR`HdUg#yW-Ojg5wln=7^&`m+i#<$}nh7i`n;j^)i!Kp(- z?5mz&g`(zlyArzdNHH4x%2II2|LVxjuPgxKbDwc%&KvundlCrB^cBIdf8vUag)74) x;Os15c?dI57|aCX%evZgTn3=VIOK`bj->bwphP`Z5L;a)u(5HSJMNc~e*@}Vp)>#h literal 0 HcmV?d00001 diff --git a/certs/nesys.srl b/certs/nesys.srl deleted file mode 100644 index c5e1c04..0000000 --- a/certs/nesys.srl +++ /dev/null @@ -1 +0,0 @@ -367E4E6F2D937558B41A5D1E729B5C0F183CFCED diff --git a/certs/root.csr b/certs/root.csr index 1f941c8..361a0c7 100644 --- a/certs/root.csr +++ b/certs/root.csr @@ -1,21 +1,23 @@ -----BEGIN CERTIFICATE----- -MIIDbzCCAlegAwIBAgIUCoJ2ETHQx1FkAoSz3HujwKxhXe8wDQYJKoZIhvcNAQEL +MIID5zCCAs+gAwIBAgIUJTnjm4JkNRVYc2sC/cBM+BoNHogwDQYJKoZIhvcNAQEL BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV -BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDUyNjAyNTkxN1oXDTMz -MDUyMzAyNTkxN1owRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM +BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDUyNjAzNTYyNFoXDTMz +MDUyMzAzNTYyNFowRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM AUExIDAeBgNVBAMMF1RhaXRvIEFyY2FkZSBNYWNoa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5DOSVbUk4dvZmW0Aa05LV0gj/h +TdrT4d5117wSByTQRL2sB5L1IowYZCRu0Y8UuUEc8EUIBIQ+mrU8DBzp37CIpfzR +gXGsNgTq2QAVq5tC7swbGrG2WpD19lrnZmV92csXcM5bk0G6LufK8mYDeT325kW6 +IoKSo5EHH3GAHMcUIKMw+mGHXPi5QTWgD0R6IVQBmqs4+9q+QwIDAQABo4HKMIHH +MB0GA1UdDgQWBBRIRrQD8pH3CV58jR1DkecC0YQn6zAfBgNVHSMEGDAWgBRIRrQD +8pH3CV58jR1DkecC0YQn6zAPBgNVHRMBAf8EBTADAQH/MHQGA1UdEQRtMGuCDWNl +cnQubmVzeXMuanCCDmNlcnQzLm5lc3lzLmpwgg1kYXRhLm5lc3lzLmpwgg5wcm94 +eS5uZXN5cy5qcIIRbmVzeXMudGFpdG8uY28uanCCGGZqbTE3MDkyMHplcm8ubmVz +aWNhLm5ldDANBgkqhkiG9w0BAQsFAAOCAQEAtokvxtfKlmFimhUMOqrbcbr2zWqt +JvPlRyQHG61FsmQm8aVaohUuxlAxpwR0z8nKKrRfc1sP7GlDfWztRjtbmdphVEBb +/kpParEAyFC1ZLLZZHjS3eEfPciimtFpCoy9owYcTuyX0jBha8X1JJ9u5rmKqjH6 +cdrlsq+Y6XMWnkSp2mA02gQVU8PwNRavDQJQRP81l3uY0gdAgmtN5dNBt0WeGUO6 +Wj4eaKfA6g46JBjzTg9XImsGq5wtKHhMzR1yBvOJ8WFKCd5LUMtbNdE4Mi+LKIlC +y7mt0XmLpFsFiJpQKI+MAzomMSesdSz6dI5/sYwgN5CUqEsRFE4x35Zk4g== -----END CERTIFICATE----- diff --git a/certs/root.key b/certs/root.key index ef31bea..2c98178 100644 --- a/certs/root.key +++ b/certs/root.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC9YjycVv/uFLh0 -xBzEbSNOcjXZYrjC264QJdAWKubx9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KEY----- diff --git a/certs/root.pfx b/certs/root.pfx new file mode 100644 index 0000000000000000000000000000000000000000..b464d094bbeb39aa2dd1c538c0cdd50c5d3922d3 GIT binary patch literal 2501 zcmV;$2|D&Lf(gL_0Ru3C35Ny=Duzgg_YDCD0ic2jcm#q8bTEPma4>=dCk6>BhDe6@ z4FLxRpn?P#FoFaW0s#Opf&>i)2`Yw2hW8Bt2LUh~1_~;MNQUv5Xf}~H~R0{*hdiVj30z$ z-QtD&$n$BP62v8x&0_h?{dLPIG3!cW;hb)P<+h-Xw7LkR+f4(sR;e#{;mq%M>)UMx zOD{H^sEt7i>Zq>ViN*me6%n&U!}1bZgH^Fq<iVI8ob*da`i~A?CL+L>$tdZZn zUhMT-d=t8Tj_f?MhrUS*mXY15(9UyQf%gZZ?b>^bHUjFcl z6>D;lq}N>38$9ymty6_pTeMjbYe$NbLzg0d@q@9}w}j=*g`cHz&vb#6Id{G9=oT0? z?%&cIZQ24Bnly@xb_x(tVeiGC-L`GVP8O)#G2XMTi`utpEAP0ab^mD;z|PNBVf}0R zG!s8p99j~MVMCdZROHo$wU{xDu}~NF5V5f3T|2m)GFNi~h{B=)wc}_)v-seFJCGOv zUVf;6OwgKM<2%)@rs&+y2bZnK<6T19SjoXKs_^@8JYYuhakixYHN2wmt}s&@pI@fv zCx6J|!S1nsuxHn= zrnkINeQ$$a^p#vUQ!WX1+iF!o&>V4=$D42ioyWjEkg%XB!C6VV8jVh z>|tD7>TU#|iCcW2Ty|9r(GA&MI+k~NpO^QuP8n~!*$yY*l3r>KF*GAyiuz|DrRY2( z0ygK-Z64||u+-21#RNDh0_u$38r)0qwi^}z|4w=~q(qtr9giuphZMLKmb+RcSN0N| z(#&la;KPgGp9;u;wE~ISfNl_)9hveI<(Rv0lh@N@Sp!(M*hxu7Q+NDW{dCP-2K>hk zl>}ylT`o3kc)=OAz4#Rf_gA9wnlM1HaL4&8Qq5GB-JDip4*7JCFqx#iUPrRL*mWnm zUaYMZ9n|^PqiVIOK9!r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_dM#n;ij46HE*I$ClgB^;a7Is<||#Z1K3-8Y#H#Jy*9%%Y83_Du=JxI zeIdJ|tXe(5JxxNK(-ivm}KO7N?Zp~;091~KcOr0y?w7e0Sii&VbQ4;%t;`~5X4Mp(ym&kk5k~i|Bm3BYB32^=Vfl^ z89U}k{eMJYJwGqHK}D3f6nh9@A*(2$BGEA=Fe3&DDuzgg_YDCF6)_eB6jyt>)V`a{ zGn4lPNV3$r`nk0EjW97VAutIB1uG5%0vZJX1Qh;6 rustls::ServerConfig { let config = ServerConfig::builder().with_safe_defaults().with_no_client_auth(); // load TLS key/cert files - let cert_file = &mut BufReader::new(File::open("./certs/cert.pem").unwrap()); - let key_file = &mut BufReader::new(File::open("./certs/key.pem").unwrap()); + let cert_file = &mut BufReader::new(File::open("./certs/nesica1.csr").unwrap()); + let key_file = &mut BufReader::new(File::open("./certs/nesica1.key").unwrap()); // convert files to key/cert objects let cert_chain = certs(cert_file).unwrap().into_iter().map(Certificate).collect(); @@ -101,8 +103,9 @@ fn load_rustls_config() -> rustls::ServerConfig { #[actix_web::main] async fn main() -> std::io::Result<()> { - println!("Starting!!!"); + env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); let config = load_rustls_config(); + info!("Certificates loaded."); HttpServer::new(|| { App::new() .service(alive)