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 -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+SbAm3rL4ZrERoqWARcjvaDMos3LYZ4+h4anf4TlKueVsfW -46qeBF6E+UUgLGZARFAoKeY9wwKBgQDQv0KFsml6sITsHmv3Iw0VIQuau9jeqK+v -3PRZoOELZmN4AAJGMNmwX90eqboFoQ19WCNHynRocP8GWPeUmp3CPHKwxm3M5psa -Q682zm8NtReHGblvWS06OAhzsMmAAHyeIk8WIM8q7EzlO/vl0W5HfdXPDyJ9wiAY -hNRbXTHytQKBgEbST2YZ/ol9X10hucELvVjh7pictNjZVGs7cCRvZbdma5ktuzYq -+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 -ZXN5czAeFw0yMzA1MjYwMjU5MThaFw0yNTA1MjUwMjU5MThaMDcxCzAJBgNVBAYT -AkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMRAwDgYDVQQDDAduZXNpY2ExMIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlmhbbsXne6zLyGTFESQUJvWh -Yb4PI7B1J/+btHgMMBCKB71sBVR7O7+G6+tO/iotTxzSFheunSUT5eVWJodMAh7x -2UwWcWZZhdHbzqTaUikCkQW7UGN+/ApoG1dGBAk5DSa9Fn52T7QYcSzcFIAFMIY5 -8yVYj9/22rkY/Bkof1TWT7B+/WckwoGYB6/2e6XGz74ly6sMURGRBySB7rm0BqiW -yIz9Rt5Kr4ZdAtUGziyNpDKClh37OLvOupGPSE8nAafKOrhidrRnc2APYJOQTDEi -chak4Pi87KiqvN1pjMdJQBsEyNgC7OkziJ34O2ZhpXFdATe8mxmjhL3T738A3wID -AQABMA0GCSqGSIb3DQEBCwUAA4IBAQA6APfNroAJiNCO4DfcoKA0K/7fX8F/+18L -KbXywW7iv8g6PHcZCqtI9UcJ2pnczMQxNwRPV+guxzHgKJY916/fdLXQe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VydDMubmVzeXMuanCCDWRhdGEu +bmVzeXMuanCCDnByb3h5Lm5lc3lzLmpwghFuZXN5cy50YWl0by5jby5qcIIYZmpt +MTcwOTIwemVyby5uZXNpY2EubmV0MA0GCSqGSIb3DQEBCwUAA4IBAQCccszwCGA5 +e0aAkOy8AJTz9LIX+ku0eEPKiedNnndQIKsMz/i6dfaVtOqtbYNeqtXc8wCRq0e6 +y5y6cN5BAuzPn0ZlWYi47xMZUJ8M0U0zyVeqN4Yqkq+LCqENpTGXNXgm+9X1CsIb +ebbTMk9ugkrmDsO9R8otAEeiUVTqNh4omqQskwlne1sUxxgYucVeVIc7Mo9y/xOE +6UGVwFIBw42wTSaL0s3rx5ZSSivDRVS0Vd4FYs/cnAwqFxlBb2Mt+P6j7awnxvdN +bjn8NaV09OXU1jIK/rl7NEkDwg9x6+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+HyovuJWppkCRigj0iD6Nt0Bz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5O +7tJGxa8/euPOcsvH4y6xxGRqDvAvf0jMaJ4Zg1kdpYEuzo7TBycFSDbvqRZBaQ9t +PZtR6JXm3Litm5jczBs44q47W+T+5ltFENCy4Rx6OWvb4afUCWyGoSSneYJod7xn +j0HDLxjCVwKBgFUvu1XQFDvrjQyjHO577iaZpjVxbC/DqyeJbwRf+1iLZYiyTNpO +tsYdyxrxySYpap2BJFmDP3PtB9Reo2+xCfUY+HCLUIHz2g1c4SNvJxV8jgXD9f1f +rtHl34kna2iBQeKWAO/8wdbPTzGw1ZtySFmCVHH8Ikc41d+W4Z1qNMDRAoGBAL6q +8eIfKh3MwVhuSAjINgm0Xj2e9CvdGfdsA+AvG0klmReirJpTQY1Yms7WOi5ainp8 +nlzTIkcbCl78GhLERCgHC3RTBcz6efWJ7wrxm62bzc5TfHN9uNAloiUFUZcwdfSp +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 0000000..c4137f7 Binary files /dev/null and b/certs/nesica1.pfx differ diff --git a/certs/nesys.csr b/certs/nesys.csr index 94d1cd1..7e6ddac 100644 --- a/certs/nesys.csr +++ b/certs/nesys.csr @@ -1,19 +1,23 @@ -----BEGIN CERTIFICATE----- -MIIDAzCCAesCFGjhFy1u+fFa7EMKu5PhgovcJ+tNMA0GCSqGSIb3DQEBCwUAMEcx -CzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMSAwHgYDVQQDDBdU -YWl0byBBcmNhZGUgTWFjaGluZSBDQTAeFw0yMzA1MjYwMjU5M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u21dUTpIVDkVwg5/U +mcyKUT9PM1RHQdQitwq+uMG9tj3tg4IE6g== -----END CERTIFICATE----- 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 -rUcBVotiSdlkBToJWK71YgvMiHCPpMW35dRJ2zMuESGyX5FaIfw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xgpjRN5 +vjEgwP3vcD/VAagTjbKu2AVFYCsaW2Rno4G33kSikze7Bnpkm1pWbNSjpgKVtOCL +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 0000000..d2516c7 Binary files /dev/null and b/certs/nesys.pfx differ 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 AUExIDAeBgNVBAMMF1RhaXR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EYVoJnJwaiHropkES4BjB5DOSVbUk4dvZmW0Aa05LV0gj/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 -xBzEbSNO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cwmRpzWw== -----END PRIVATE KEY----- diff --git a/certs/root.pfx b/certs/root.pfx new file mode 100644 index 0000000..b464d09 Binary files /dev/null and b/certs/root.pfx differ diff --git a/certs/root.srl b/certs/root.srl deleted file mode 100644 index 595a2c0..0000000 --- a/certs/root.srl +++ /dev/null @@ -1 +0,0 @@ -68E1172D6EF9F15AEC430ABB93E1828BDC27EB4D diff --git a/src/main.rs b/src/main.rs index 1cec7c3..0d9cb78 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,9 @@ #![allow(unused_variables)] #![allow(non_snake_case)] #![allow(dead_code)] +#![allow(unused_imports)] use actix_web::{get, http::header::ContentType, web, App, HttpRequest, HttpResponse, HttpServer}; +use log::{debug, error, info, log_enabled, Level}; use rustls::{Certificate, PrivateKey, ServerConfig}; use rustls_pemfile::{certs, pkcs8_private_keys}; use serde::Deserialize; @@ -83,8 +85,8 @@ fn load_rustls_config() -> 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)