Cert issue fixed probably

This commit is contained in:
caret 2023-06-04 22:04:50 -05:00
parent 8ff3d9dac2
commit 75313ccdfa
12 changed files with 141 additions and 167 deletions

View File

@ -1,18 +0,0 @@
$certPath = "C:\Path\to\Certificates" # Specify the path where your .crt certificates are located
$certFiles = Get-ChildItem -Path $certPath -Filter *.crt
$certStore = Get-Item -Path "Cert:\LocalMachine\Root"
foreach ($certFile in $certFiles) {
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
$cert.Import($certFile.FullName)
if (!$certStore.Contains($cert)) {
$certStore.Add($cert)
Write-Host "Certificate $($cert.Subject) imported successfully."
} else {
Write-Host "Certificate $($cert.Subject) already exists in the store."
}
}

View File

@ -1,25 +1,14 @@
#!/bin/bash #!/bin/bash
echo "Don't run this unless you want new certs. Just use the ones already generated!" echo "Don't run this unless you want new certs. Just use the ones already generated!"
exit #exit
echo "This script removes all cert files in the directory." echo "This script removes all cert files in the directory."
echo "Continue? Press enter!" echo "Continue? Press enter!"
read read
rm *.srl *.key *.csr *.crt *.pem *.ext *.pfx > /dev/null rm *.srl *.key *.csr *.crt *.pem *.ext *.pfx > /dev/null
# Generate Root Certificate and Key # Generate Root Certificate and Key
openssl req -newkey rsa:2048 -nodes -keyout root.key -x509 -days 3650 -out root.crt -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.crt -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"
# pfx export
openssl pkcs12 -passout pass:harasho -export -in root.crt -inkey root.key -out root.pfx
# Generate Second Certificate and Key # Generate Second Certificate and Key
openssl req -newkey rsa:2048 -nodes -keyout nesys.key -out nesys.crt -CA root.crt -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 openssl req -newkey rsa:2048 -nodes -keyout nesys.key -out nesys.crt -CA root.crt -CAkey root.key -subj "/C=JP/ST=A/L=A/CN=nesys" -days 3650
# pfx export
openssl pkcs12 -passout pass:harasho -export -in nesys.crt -inkey nesys.key -out nesys.pfx
# Generate Last Certificate and Key # Generate Last Certificate and Key
openssl req -newkey rsa:2048 -nodes -keyout nesica1.key -out nesica1.crt -CA nesys.crt -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 openssl req -newkey rsa:2048 -nodes -keyout nesica1.key -out nesica1.crt -CA nesys.crt -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
# pfx export
openssl pkcs12 -passout pass:harasho -export -in nesica1.crt -inkey nesica1.key -out nesica1.pfx

View File

@ -1,23 +1,23 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIDxTCCAq2gAwIBAgIUJOMGzOmQ0JoplXO6hA9m/sPvnRAwDQYJKoZIhvcNAQEL MIIDxTCCAq2gAwIBAgIUfH7CYtnS909tjCJmn3h+9oqsLzUwDQYJKoZIhvcNAQEL
BQAwNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExDjAMBgNV BQAwNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExDjAMBgNV
BAMMBW5l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J47ugR+bRD3YDm0ZS+42qLvvA8FaIV/lOV1xK6So29yEz0P
s+6QJxgP4ABZpEborLF0AE60voIjBrr/lzz8h0V9HEfHZZkWEDKG0ZH+Bf0TN+tt HvLi/sJs0Mck7ZlG56MzwSCYHNcFTBGVVIZM2tcxWsXS/+VxtHJtbysY64eHnYog
BLA8hOXqsxAs G/7ah4CXcWtI
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC5+XnZzMuYHxFX MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDCX+/yIAFz9Tpe
+wkczaHjWGJqhmV9eyZpIo297AjP5ubfWKvg3FKk0/my/q2SUm1Kt8aQnS37H/5r yQxwb3YYL+9Ngfedmxil7U3HZcpDR+2ysNtmdMTIVzQhz+ql7y3BJ+CSriEvDotu
cr1WL3WsofrFiv4ZgwH7ZUcsHbqmJfNZhNyglFWYmGU0MXzsJmeXjNhozky7FG+z hRp15RFANcqf5JoolZ9m3a6BZZkQrjBZqCD7UOTExf11WKLq05N0Nr0EKoGRn4PQ
8AdcrvnF/JpJ9TBahse2qhxQDgX33SDRjjk9/y4fOh6lghMSpTbd6z8fSp4/Vk3J F04mW/3zjpx3M53EbOAVq5bstGyClrTWItvHpzuJ3doCLotTUOKW+b6B5WPnjkPB
tbAr8Ky/CyIbnHtOzux9S65To8iPc1DjpkkQnNju5/QnWzLx0hH0EyXddGl65xKE uR9BkMa9Ru1ZlQqxkEVxAqLdNSOLVisTASZ91ZmLhQM7klOSfMbO/6tWV2ZKgQ02
JNW2g31KLZBgw+TpopC9HgDjuZym5W1K9Mb8/fL00GKKsKpjQ1/+mwzvJkHbueXw Cdjt7tEYKakGfmT21YT3q2f/2FF9TyarX9nma4RLnoNwt+GlH8bZFukr/Nkk2sf1
UsuRkN27Ag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78hAoGBAOGJ1LJhj9pMZeY4kmAA
zlpvfBj4CyyHRE1UZVyVqw+kZo+0DFmG0DFtt5QRkhgJF4G6cePzMWRKObowW28J L4qujX55bzs9Lk/+zKwE5RlwDpFzXzSXXHnWZeEyOb6ENyOnUpwT5gRyJFKidD1h
Ve78z7sKP2ZB+M91CeqYqt/x9unaHrkO7OVcUnxnMJciNiDCYO3IR6gRJqEHyKfn gtEx0PWclBbrf84Tz1GRurVmb+FuRe5la+aLb5Otdudnc+mggNGFoAOZMU8mQtoQ
KIQ0nspTwXDFQU1Baya7T6I= s/bVTFKdN0+vYR18OTu3nGQg
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

Binary file not shown.

View File

@ -1,23 +1,21 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIID1TCCAr2gAwIBAgIUW3pG7ZaFPCJZC06IaUpu4LMNuukwDQYJKoZIhvcNAQEL MIIDXTCCAkWgAwIBAgIUZvUOPy2SRMCgA7kLN+3K5pj6PUswDQYJKoZIhvcNAQEL
BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV
BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDUyNzAxMzgzMFoXDTMz BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDYwNTAwMDc1OFoXDTMz
MDUyNDAxMzgzMFowNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM MDYwMjAwMDc1OFowNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcM
AUExDjAMBgNVBAMMBW5lc3lzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC AUExDjAMBgNVBAMMBW5lc3lzMIIBIjANBgkqhkiG9w0BAQEFAAOC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g1kYXRhLm5lc3lzLmpwgg5wcm94eS5uZXN5cy5qcIIRbmVzeXMu dMdAWVW7gKfUUUFn9icRAs8g2NnxhLAQ1Wj9Xet80OflqusUIz1kfbrdHDn2kQrV
dGFpdG8uY28uanCCGGZqbTE3MDkyMHplcm8ubmVzaWNhLm5ldDANBgkqhkiG9w0B 2dwYTOaLou7xGK3VWZDdfsQ5jDd2bdW2EPU1UsN9/4okUBu19aUEoezgbL3tZbDr
AQsFAAOCAQEAGwn7EU3OvDzRpuKqbABIFid5d2DXwVqwXvylg9RUU2X6O/OgbuiT XdIDu/e3XVRgCA2dMXaoh2ue/kJ6OcN58Jkf5pmgCCAvCFogvGZsK7VP+fGNovas
GNcWqGYYtGnys3Ti6T++5NzUGPqWVOzIqEaEp3ymuOE+4S8PRJAi1yTB6kcmY0M+ 5Z5z/gZFb5QcHFM5r4U9k+XpHp8a3uhnXJk8KCiPY977TxLmlEARDmvvTMLmPhxX
AYvtIoCoomaSiHQmKHcztWTu6ENzBHkbg61EHMw2qW6YS8vfJdSnKUnKN9iRgTc+ rfDJOZglAMaR94wS5zyyWMxNNZImgsrwf6Jm+7iI3bJNPQxJOxB+9gRDSw/TYRr/
leixknpx16XjdzYqIjUO/XGArYCK6YexqQzYGGzCEDjssSNcVdpJMi+4IR+bi4gm sA==
6Z07iJ2llemARincPI+8VXCrl7ubY1SjaHOxCVI1Y8dGIrlrRW3ZU6ZO7TCdhyiX
YnxSl3THxvdyic5whIL3A+sN5TjQcwNNbA==
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC7In67PYFHuX38 MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDI9bkQwsjR/GGS
uHhMaltDoZKrRmbRLip/xWZjJqcmD778W34kfC1R3JZSFKbD7/tVABqlBr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PDLduWe2fQzJkHlR7xCvITQtybq3qQcM37ByRK9zZlBgg6ck SZtF+EGzG7ymjkuXtGu/D7N1Or0F21Aj7b6CmfTVxsd56ajULsBWQdBdo5grZlX1
DOwFDjdn4eOOPGIx0rbPIg6WU5XZ6PKt7Ng2iFAKSq0amrbn9GAl4MA+mQKBgQCf OFcx+QXaKB+8sqCJeOSdgGfTHZmXc6fScDPs996+rKBQnWMXukER/4zQgQKBgDsI
W/KuLEHjowOlJxlapbgErkXsKiT1Ef54ERqaptTcBZ7HXB8BjrbNySYNFbA9slwJ 7vlouwI0KYSqBJOQQ3Y30xGgb3Ty703Q/LkZ0TvJRk1AkHJkoh8SeNwaxpR2J/di
fRC0aqG5TaI/1b+bhjMl7wDKDX+gWj2FW5kpOvs+tdlQnl7TA8Gw2Cg5TZUXDTVM UcNaoepcLtjk+kZ79nbEncLLKLaCBfvSjydMMjsLE+EVaCks2qMb4trgrguM96zJ
g4zrpZLzCi8B217HMpGW+CRd+hmau+iqNbQcKaDRbwKBgQDYPq5rUlUKa0wDK9YR 2lsEi+xfwIqinU6uYeT9dWIOE1Z6KUYNlZPi+l+RAoGBAL+0ATjUn3qV4Buo8frN
4Q9vmr2cl/ZuHxYIVgQGE3PIkg2mHR8seNz2gREunOji65gShk8LXYLXxImqVLU6 RuXqwIpYBPOHLVQHoEhDLdOiTvM0vElFnLq0Hq7wmuVSiiVbKSlsEZbQHRZlaChp
hHuxPriob09igLOf3xEXCLdfTsyqc+4cJAomibLSF+PfyWqbRo8+XERm6XRrrg/N 32YDqVxUYGEj5XnpBiCq3DTLru7Wr8r0njvKiBMNLOPPbtHukHnJFZL3gDTo96Ey
rtB/aoYe7NB9OXK63jBdiNroxA== js/euYOMeKilOMkIURCKhw4P
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

Binary file not shown.

View File

@ -1,23 +1,21 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIID5zCCAs+gAwIBAgIUbw0ifSZQCKLKogc4Q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jJ7vxQSRyvUTt
5vdnGP+HyJBOjHteqpc26dndF92yFOMwlwb8pzxPFW8PNZ0j1zbb8r4JYOoyUvCs UWF2S+v9CemYfR+ghvtr3hAo9rNtlkBvW+tvCA3lPbc1U8DJwAOGQ0a/keaEegk+
22/mKv993of3E8/DRERQaJ3dgWE4TTJGc8DXxoDyLcccFtBsBMyheNPHJE8G1oIN 9dmTRoOYNN6kJBpgg+WCjswWbA==
B5Gwj8pq6Sqe4fx0IzQ+L6CyhMUFAEgE6m6LzgBMWZlPVJrq0LULDxYvGszBpQH7
bSnvxvnyxAlFyFSjFphIq1gWbzSWl1R/vULIIVoFkfHlfS7SYa4l2m9Cew==
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQDG0rC2TuJvqXNv MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQChS+TMg7hYuSdB
S1qUN6A6v6QG08uSFiNfMmvH3iLuqm13kcJWTELRlWwftOKeX6QQK6xD+ZkEKN8u RYDbPv9mqufCNHEqjDbs8eZ7orqNMNyATMpWWNcIlXpM1Z2WFT+NajGpiatBkkDx
V+pJH0GF1ic2KK500ZeHEE5MracRGq+zfxoPEi/sjKxN9rM6GfOFa+Xd+FkNf8VO gatRbfH3JRkHxZK6w18hTibmwu1MNNbuK8lts6lIN6ucUGZ6ZWef0oZa6CCnouUf
L5bRQ1cDfYeBPW5wzOW+MydkhlEp76TuD8MmtYRkfA+cOmgePSUikXyIXtNj+f4I xD5HNgQ9ZGzMo3ELaVg0MrCctVFQivxsqpW/NEN/6qTiUBXtYAlBbhJjOW469/1+
gaE+GNTVEENKHAIBdVzafgQcS5j8uXK9twVa6awIMZEq8LBop4LyZc3CJhB97RoE 1I/ngzAJ7FEgiacv0P/c4GLirEmutq9ol0FamF3av1YtSA7BM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qdej+1XlRSAggTIO /8j92jc9kMdT86vq/qBxTIpvMyy2Kt/geenBrsRS0bldPtyEwQQ1yMHV/4QK5XOT
fDckIm5VH3k5u1iFXBD07y5xNAGn22BAsc/pAoGAapcQqbqxC5gLhbif+tvS/MiT h7YRcLC02JAJtFpE3OZUza2cBx6nKLckjyGD4jbBAoGBANQDkmYFJ4m54rxdaRms
ce4rXBUyijwmul1WEPw2ffOmW0F0tUhEY+uLxNMianxbvrM6GajsfnNI8kJYNrck vjORG6ncxxucQbX+A5vgFUUXzRhB0qQre0pmLBJb2TZWyldN5botq9LEWVLS4NLg
RoK+bvMJaE0hA9J+vH6em2927TXY8vxPJ1eBSVeP0YHoDJvIExdiw5At1PxkJwac y3l0SY1Sl7Ax0ZH+uZVb9E/BSIytkcp6AbcGgIRvAISHO7bGiUORO8BBFkHmxuYG
Q1OFS6nnyx6AWdcikzQ= xbK01G+eU/ZsrBbpjeDrehHY
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

Binary file not shown.

View File

@ -59,12 +59,18 @@ async fn basicinfo() -> HttpResponse {
#[macro_export] #[macro_export]
macro_rules! resp { macro_rules! resp {
($str:expr) => { ($str:expr) => {
HttpResponse::Ok().append_header(ContentType(mime::TEXT_PLAIN)).body($str) //HttpResponse::Ok().append_header(ContentType(mime::TEXT_PLAIN)).body($str)
HttpResponse::Ok().append_header(ContentType::octet_stream()).body($str)
}; };
} }
#[get("/alive/{id}/Alive.txt")] #[get("/alive/{id}/Alive.txt")]
async fn alive(id: web::Path<String>) -> HttpResponse { async fn alive(id: web::Path<String>, req: actix_web::HttpRequest) -> HttpResponse {
println!("---");
println!("Method: {:?}", req.method());
println!("Host: {:?}", req.head().uri.host());
println!("Path: {:?}", req.path());
println!("/alive/{}/Alive.txt", id); println!("/alive/{}/Alive.txt", id);
resp!("") resp!("")
} }
@ -116,6 +122,7 @@ async fn game_info() -> HttpResponse {
} }
#[get("/server/certify.php")] #[get("/server/certify.php")]
async fn certify() -> HttpResponse { async fn certify() -> HttpResponse {
// Need to
let res = format!( let res = format!(
"host=http://10.3.0.53 "host=http://10.3.0.53
no=1337 no=1337