Certs fixed actually this time no cap

This commit is contained in:
caret 2023-05-25 22:57:02 -05:00
parent 393d89f15a
commit 08794c7bcf
16 changed files with 150 additions and 199 deletions

View File

@ -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

View File

@ -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/2CnNEf4sEal7UDbesmRWVSBhCsmcR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gX95nQcjM3nr8STd7DKZyV3M
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-----

View File

@ -3,27 +3,13 @@
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 *.key *.csr *.crt *.pem > /dev/null rm *.srl *.key *.csr *.crt *.pem *.ext > /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.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 # 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" 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
# Sign with root cert
openssl x509 -req -in nesys.csr -CA root.csr -CAkey root.key -CAcreateserial -out nesys.csr -days 1825
# Generate Last Certificate and Key # 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" 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
# 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!"

View File

@ -1,18 +1,23 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIC8zCCAdsCFDZ+Tm8tk3VYtBpdHnKbXA8YPPztMA0GCSqGSIb3DQEBCwUAMDUx MIIDxTCCAq2gAwIBAgIUNP9hSFFNvbmUjwxBB+futKI8pOIwDQYJKoZIhvcNAQEL
CzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMQ4wDAYDVQQDDAVu BQAwNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExDjAMBgNV
ZXN5czAeFw0yMzA1MjYwMjU5MThaFw0yNTA1MjUwMjU5MThaMDcxCzAJBgNVBAYT BAMMBW5lc3lzMB4XDTIzMDUyNjAzNTYyNFoXDTMzMDUyMzAzNTYyNFowNzELMAkG
AkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMRAwDgYDVQQDDAduZXNpY2ExMIIB A1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExEDAOBgNVBAMMB25lc2lj
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlmhbbsXne6zLyGTFESQUJvWh YTEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC41tWJaLZtrPLvrHQQ
Yb4PI7B1J/+btHgMMBCKB71sBVR7O7+G6+tO/iotTxzSFheunSUT5eVWJodMAh7x f4917dtbVlvJyBgAOsAhmyWPvKHexXXyg53NnpluFuJP6ZzCGOd3wU+De9St+Rcr
2UwWcWZZhdHbzqTaUikCkQW7UGN+/ApoG1dGBAk5DSa9Fn52T7QYcSzcFIAFMIY5 f0O68XTuslw0lHAnxDzuonS338XGz1l7PzzZVxXAAaP4mrcyyfj1Kz7/ssmiZdwG
8yVYj9/22rkY/Bkof1TWT7B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FUZcwdfSp
5UosetkGWk0ExuNcVX64irefdN8uiKesYCtck30CgYA7CnK1V7urPzpuSaodWpQq KWA5EODn7b9CU7MG1aIPl0CBVUb2bfBdKp+Sj0RRAoGBAJ1GF43VZ9bu7jyQGnq8
xgxCFryRwcZraoP0gD5dfIPH/4fFX4hbtNYVqrPy4hT/bvmdgobrHCzQW+bZGqd4 tE9FOtqhktmX00us/QARNcABCPgwhmQcH2g+IDykVxN1OL8cEgvWMxhoX5z9WsHK
NCzoB1mTONTR6ZQmOwG8+6/7ZghLekCLahb0VDk30Onh1EkTphx2spEwZBOPDmrl ZNGSlH/Lwtw9mzdw+wOM1pyekpzy9zfDZO8MyjV2/PETGKAOGJrrnP8/bYH5akVH
2RoKZxFSDiIZAMmjq5uVgA== swbGPRZ9ND2jSvLsjTqmA5UQ
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

BIN
certs/nesica1.pfx Normal file

Binary file not shown.

View File

@ -1,19 +1,23 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIDAzCCAesCFGjhFy1u+fFa7EMKu5PhgovcJ+tNMA0GCSqGSIb3DQEBCwUAMEcx MIID1TCCAr2gAwIBAgIUWNrXkXL9tsZIfrch4D+eXzRcvGEwDQYJKoZIhvcNAQEL
CzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMSAwHgYDVQQDDBdU BQAwRzELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIBgNVBAcMAUExIDAeBgNV
YWl0byBBcmNhZGUgTWFjaGluZSBDQTAeFw0yMzA1MjYwMjU5MThaFw0yODA1MjQw BAMMF1RhaXRvIEFyY2FkZSBNYWNoaW5lIENBMB4XDTIzMDUyNjAzNTYyNFoXDTMz
MjU5MThaMDUxCzAJBgNVBAYTAkpQMQowCAYDVQQIDAFBMQowCAYDVQQHDAFBMQ4w MDUyMzAzNTYyNFowNTELMAkGA1UEBhMCSlAxCjAIBgNVBAgMAUExCjAIB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pLyUxBnwObriyiZSlx BgNVHRMBAf8EBTADAQH/MHQGA1UdEQRtMGuCDWNlcnQubmVzeXMuanCCDmNlcnQz
sPEYO62N7b0D2AsvmdFIGki4VLUVVknjDTBMbaMCy+jw7rfbmCks389CQ4/AHCcx Lm5lc3lzLmpwgg1kYXRhLm5lc3lzLmpwgg5wcm94eS5uZXN5cy5qcIIRbmVzeXMu
HfjzkHi/O+vGjPg3Y31azvZG4gZei11qKxPgpWhn4hsrVd9pBR7C4ayuMi+ZMBHp dGFpdG8uY28uanCCGGZqbTE3MDkyMHplcm8ubmVzaWNhLm5ldDANBgkqhkiG9w0B
/E9QWHfM+O0Mz1HsCrC4JBBC4qywYno+f9FWjf4CpQkah1ZOjD+CaB2br5oJ3IiC AQsFAAOCAQEALD007UYpzjjeRL3Ywa9berUGOE0Jy6fCBtSqS+gqjhkrUdejUcag
OCsrKbkNPA== WNhfbM5Pw7/rbX5Bnjte+wG/g7dPYi0cbeo/bz9vGPwojM40ByzuuFM9sSnZhUSV
6MfF7F3wVW8s2/2vl9r+tNOkQQ2Nm1Ovkxdl4VNW/jF7f17Hsizb/lby912eeNpn
7qQyWpYCkdS/zij2dHNQw/fAEaM4Dcbe+dv3Omtse3KZh4cVbQbifENLLYCfEE/C
38Cqc7BteXlluReIGRlrDIdPWoiakL8nOKSw165PLItJ/vgu21dUTpIVDkVwg5/U
mcyKUT9PM1RHQdQitwq+uMG9tj3tg4IE6g==
-----END CERTIFICATE----- -----END CERTIFICATE-----

View File

@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCvV3S89t9SpvLm MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQCwfb+c3+vY7TnI
6kp+Dl86M7YfGXmA5kbD3yuYB4W4rt+/ztqTxBhcyS4CCLXpWy8xCh/InrIwO1pr Vrs86f5KN+d8pKP+OB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nSwluESX8OqADCTSPLiN5eyN9GRNSKc5tX52FC9Yb2KbvrRujS RgWAKu+sWwr2M7wJoe1HgS/PUKwvqEtS2m3wg00omMFFzaXl5ED05ZY8Bf9q4tuN
tiMSQ34/hzREuvbTEjVKqwcRW10mqWG4A6jki1N7BwFm/oWlS0NSqqBojQKBgQCu 8S6FUb8iuKp9lCDg5E8nr524dQpvShVuHHJLsvbgMjFMMWNxHw+UYQKBgH5q9FOu
TPcGcULpQRjP54iSJdyH6QF8uVJy8GUivMNsFQnLC/cSoKucRrdIFpJrbR84fIUi KZ6jMa0Z/ai5uNa8FWN8Xa425BXpeFcs6Pwdi0ebCYhXKjvHO0cSlDjyBxgpjRN5
cBi+Oxyk77M/fhJE4UAYI4Fk66o0VnDVKRwMLCT0HOzYCPCTtEaMBzVk3Q2b0V5f vjEgwP3vcD/VAagTjbKu2AVFYCsaW2Rno4G33kSikze7Bnpkm1pWbNSjpgKVtOCL
2zcXL+FTL7vVTgJRJvDE4QAN81Jzk8c9BTx9fWJ+oQKBgCIRU4lw09EZ8kftVm+i FKj5krHvere/dRbPAApHShF9eJkDou/5xkipAoGAPtLxIQO5aEL6qEsqi+V2B1D+
+JR1NFy/tQ0ynmPJ2WEbl3cp0e+aFyYyTiDhQ8oNYnWUuFD1zU6pnIANLdWcdmMI cWoMtejcFc9zqX7X1hW4f81J4b0v8sq9LAFig1H3jED22k40HxGlCH+FVcW+60Xt
SefJcCh/oX86pVs+7C3wmZ8wa2MtGs3MhOnLFmTS+9IUB9eHacKOfqLVsJ0tWvQe +YmcGUEVep9R1bxYHD38fPtqh8bKW5ijc8TlCzflzEKI6tuJI8FSz6/5vI44AZCh
QQuoM5Z09AYvIT9JFFl3LY7u GxBnzf6gl7Y77kULrw8=
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

BIN
certs/nesys.pfx Normal file

Binary file not shown.

View File

@ -1 +0,0 @@
367E4E6F2D937558B41A5D1E729B5C0F183CFCED

View File

@ -1,21 +1,23 @@
-----B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JSG4qsSGOs
hjD99rBGNP23B4xUN9TRkX/5M2/Cx1vcPCFJAQwl3GmjUrG6Z0rYQeXTGZS/n6fr 1nB9d0CnctmM0XM9GZQ4cWp+wPSBblcDkQrD6ItIX6NUmNBiro0wAoX6edZac0Fi
53VYyqd8yfD/Sr19ewmjQi3NX5yy/uxkuiw9VrCRAoGAXLc+hN0vQnWg5Vu6Cz1P LDmlvMWxQYssbxUGLLf9rHE1OBllUMYk8Bfc1qXFqQKBgQCTSlBNI82kLhrvh5ux
2WFnZKvQuPkh9b0mkWskcyh+Tu8LAJEOu9br6G0VLsqAQKcogsAfas71dm+hIwz3 01k9vpWxOBDlX6i8kHBE6d4ohFLDtuO4VfAE3ej0reWHKGqx4BB3gEIxzOrtbruZ
tALorqQf6xLvt06IUN2y8xCn2Tb4BxMhKV8vOOARwHthbG7j4bXQwko8exbvDZX7 fxwRzgu+kZTMMK0S6b0zTPYmmsX14nmQv17FsHmMZoZRneeeQHV61N1hsTqBJdRX
xlQg6htpoIbB/l0x5AQ/M+k= DzokXlt8sr3ZW3xSPTcwmRpzWw==
-----END PRIVATE KEY----- -----END PRIVATE KEY-----

BIN
certs/root.pfx Normal file

Binary file not shown.

View File

@ -1 +0,0 @@
68E1172D6EF9F15AEC430ABB93E1828BDC27EB4D

View File

@ -1,7 +1,9 @@
#![allow(unused_variables)] #![allow(unused_variables)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
#![allow(dead_code)] #![allow(dead_code)]
#![allow(unused_imports)]
use actix_web::{get, http::header::ContentType, web, App, HttpRequest, HttpResponse, HttpServer}; 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::{Certificate, PrivateKey, ServerConfig};
use rustls_pemfile::{certs, pkcs8_private_keys}; use rustls_pemfile::{certs, pkcs8_private_keys};
use serde::Deserialize; use serde::Deserialize;
@ -83,8 +85,8 @@ fn load_rustls_config() -> rustls::ServerConfig {
let config = ServerConfig::builder().with_safe_defaults().with_no_client_auth(); let config = ServerConfig::builder().with_safe_defaults().with_no_client_auth();
// load TLS key/cert files // load TLS key/cert files
let cert_file = &mut BufReader::new(File::open("./certs/cert.pem").unwrap()); let cert_file = &mut BufReader::new(File::open("./certs/nesica1.csr").unwrap());
let key_file = &mut BufReader::new(File::open("./certs/key.pem").unwrap()); let key_file = &mut BufReader::new(File::open("./certs/nesica1.key").unwrap());
// convert files to key/cert objects // convert files to key/cert objects
let cert_chain = certs(cert_file).unwrap().into_iter().map(Certificate).collect(); 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] #[actix_web::main]
async fn main() -> std::io::Result<()> { 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(); let config = load_rustls_config();
info!("Certificates loaded.");
HttpServer::new(|| { HttpServer::new(|| {
App::new() App::new()
.service(alive) .service(alive)