From bfbef32560ea7b82511f988f431faa1de2926145 Mon Sep 17 00:00:00 2001 From: r4ulcl Date: Sun, 8 Dec 2024 09:58:44 +0000 Subject: [PATCH] Update createCert script and certificate --- certs/ca.conf | 2 +- certs/ca.crt | 55 ++++++++++++------------- certs/ca.csr | 32 +++++++-------- certs/ca.ext | 4 +- certs/ca.key | 52 ++++++++++++------------ certs/client.conf | 3 +- certs/client.crt | 45 ++++++++++---------- certs/client.csr | 32 +++++++-------- certs/client.ext | 2 +- certs/client.key | 52 ++++++++++++------------ certs/client.pem.crt | 97 ++++++++++++++++++++++---------------------- certs/createCert.sh | 70 +++++++++++++++++++------------- certs/server.conf | 6 +-- certs/server.crt | 47 +++++++++++---------- certs/server.csr | 32 +++++++-------- certs/server.ext | 2 +- certs/server.key | 52 ++++++++++++------------ 17 files changed, 293 insertions(+), 292 deletions(-) diff --git a/certs/ca.conf b/certs/ca.conf index 7b1c142..d2dea94 100644 --- a/certs/ca.conf +++ b/certs/ca.conf @@ -2,7 +2,7 @@ default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES diff --git a/certs/ca.crt b/certs/ca.crt index 7a67bef..d39b1eb 100644 --- a/certs/ca.crt +++ b/certs/ca.crt @@ -1,30 +1,29 @@ -----BEGIN CERTIFICATE----- -MIIFEzCCA/ugAwIBAgIUTf88IgQvSqponzkXz6xI7eKRTDEwDQYJKoZIhvcNAQEL -BQAwgbAxCzAJBgNVBAYTAkVTMQ8wDQYDVQQIEwZNYWRyaWQxDzANBgNVBAcTBk1h -ZHJpZDEZMBcGA1UEChMQV2lGaUNoYWxsZW5nZUxhYjEeMBwGA1UECxMVQ2VydGlm -aWNhdGUgQXV0aG9yaXR5MRwwGgYDVQQDExNXaUZpQ2hhbGxlbmdlTGFiIENBMSYw -JAYJKoZIhvcNAQkBFhdjYUBXaUZpQ2hhbGxlbmdlTGFiLmNvbTAeFw0yMzAyMTkx -NzQ5MzlaFw0y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gU9w== -----END CERTIFICATE----- diff --git a/certs/ca.csr b/certs/ca.csr index 09b61a9..9d92051 100644 --- a/certs/ca.csr +++ b/certs/ca.csr @@ -1,18 +1,18 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIC9jCCAd4CAQAwgbAxCzAJBgNVBAYTAkVTMQ8wDQYDVQQIEwZNYWRyaWQxDzAN -BgNVBAcTBk1hZHJpZDEZMBcGA1UEChMQV2lGaUNoYWxsZW5nZUxhYjEeMBwGA1UE -CxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MRwwGgYDVQQDExNXaUZpQ2hhbGxlbmdl -TGFiIENBMSYwJAYJKoZIhvcNAQkBFhdjYUBXaUZpQ2hhbGxlbmdlTGFiLmNvbTCC -ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJKKVM5CjsrNejwV1w2SnADB -ckPYnM2+N0VySs1oJtp1srYrNft1tgrVPSQp4SlZuaqHcFwda83R9IiGc1TC+zlI -fgtOTNo1nGGQIL47oA1VwouuoklnLhIYyVhYfhGcy7x7BFB3WsRUC4G5MJRXghH6 -ycoMb1xMRmhObafi/bRL4jAUqWups8X5Q+s94Ll4b19FsL3tAm9OIo9KygLKpb6c -AEgbOwesRX4RTgYDcQ6hUYeLbuMngCk/P3RgZI077dEBdntG5FhzBDRMWE9mUZiL -E6FC0oonKY5y5sF31G0oDdQwMQXJtZ6TRAT4pcVfLS+4vvpMN0COHeYYyiZQzV0C -AwEAAaAAMA0GCSqGSIb3DQEBCwUAA4IBAQAtkmP+on/41mcsTjr1ZBGv7rqGqSsU -nyFhyz2mQvQjwJe0Dj0YMRAdRYCJcBwpGH7y9ggsPnoxhRz1ItfOiabj4AoCwr+M -rOQLiRPTiQz6INmu/1M5NJm9U6ntujyn0PWEJOxoFrwRB/2amDEwvK4tqRYdeq62 -KWpmWC3IpRbAiLZUEU0TbCpRo6cyAaOs9bsSfh1sFPt59fluniSUddDyABK2kohA -i1WvT6r0c5H2r3V8ip1avIZrU9c/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9NRQzK5THSJDVVlE24zj7j6qKUVBJ3bppTNG5c1 -----END CERTIFICATE REQUEST----- diff --git a/certs/ca.ext b/certs/ca.ext index 7e6f1b9..d38fe78 100644 --- a/certs/ca.ext +++ b/certs/ca.ext @@ -1,6 +1,5 @@ - extensions = x509v3 - + [ x509v3 ] basicConstraints = CA:true,pathlen:0 crlDistributionPoints = URI:http://WiFiChallenge.com/ca/mustermann.crl @@ -8,4 +7,3 @@ nsCertType = sslCA,emailCA,objCA nsCaPolicyUrl = "http://WiFiChallenge.com/ca/policy.htm" nsCaRevocationUrl = "http://WiFiChallenge.com/ca/heimpold.crl" nsComment = "WiFiChallenge CA" - diff --git a/certs/ca.key b/certs/ca.key index 6421ede..487090c 100644 --- a/certs/ca.key +++ b/certs/ca.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCSilTOQo7KzXo8 -FdcNkpwAwXJD2JzNvjdFckrNaCbadbK2KzX7dbYK1T0kKeEpWbmqh3BcHWvN0fSI -hnNUwvs5SH4LTkzaNZxhkCC+O6ANVcKLrqJJZy4SGMlYWH4RnMu8ewRQd1rEVAuB -uTCUV4IR+snKDG9cTEZoTm2n4v20S+IwFKlrqbPF+UPrPeC5eG9fRbC97QJvTiKP -SsoCyqW+nABIGzsHrEV+EU4GA3EOoVGHi27jJ4ApPz90YGSNO+3RAXZ7RuRYcwQ0 -TFhPZlGYixOhQtKKJymOcubBd9RtKA3UMDEFybWek0QE+KXFXy0vuL76TDdAjh3m -GMomUM1dAgMBAAECggEABhGtF/rJM6yFaLol1TXSeLSKUTWGLv43B00HvJCY9VjF -DUbmXjL+ll3FAburS91fs2iXFnWQeq58oG/jFGpb4cA3GixEwg/Q2XiQ5pgNFahM -3aCer4gSsCSvKBXIKN4T0QtOPy/mRjXN4TJEiQxDwo9erpvLu+ibzOOcpoSf6cjf -uYDBaetSWB8mSYm+ekD/ybiiJFpVxwii7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wKBgFoFS6uU6S5lwLLqXydmstVtFoTGJTEge7mrCz2UqbOy5ZBrwV7c +h459/7sZ5F5cTdNIf/0QfXj0ZregdtEg6jXVHlNXuwL3wUTIa2vE8KnvZWWCgYLy +dhUns44onjeKofZr8HLRRmyY3e9R2hcuzVUYpU/gDLhMkPJ87c5I05wtAoGBAMAj +wF6N0LPzT1p3R/iiEjxeKrS2meXNjhNkubDiqA6ik7OcbY0S2MgSglgFzCw9mZgs +ZsKu0p7DVVbAu+BYd4Jz9ESpd30x0rRKyQFPqu0j6bXnfIRpZ0ZIzBM2FFb1IhkQ +WlRZ/kE7qB1KiGCwseogD8rWmuax4Enk8cxwPDXTAoGAUL7nMLXIBtyP3BXDvwse +OhTPD69lKPcB8uVwIbgC58Sg0P2bC8TEiPueLpAbs/gdHIEZaF8nwkErLcQWFIwu +PtlCM1+gkZZgSXl7K1xtXOugnDi6vGu1jgvEqwJCNJ25W3KfSXUP6mfOO/H4mf5B +wOmAdQJDV/cFViHDNdfSJpI= -----END PRIVATE KEY----- diff --git a/certs/client.conf b/certs/client.conf index fb945d1..a84b426 100644 --- a/certs/client.conf +++ b/certs/client.conf @@ -2,7 +2,7 @@ default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES @@ -15,7 +15,6 @@ localityName_default = Madrid 0.organizationName = "4. Organization Name (eg, company) " 0.organizationName_default = WiFiChallenge organizationalUnitName = "5. Organizational Unit Name (eg, section) " -#organizationalUnitName_default = commonName = "6. Common Name (eg, CA name) " commonName_max = 64 commonName_default = WiFiChallenge CA diff --git a/certs/client.crt b/certs/client.crt index 9de9adc..331f925 100644 --- a/certs/client.crt +++ b/certs/client.crt @@ -1,25 +1,24 @@ -----BEGIN CERTIFICATE----- -MIIEIzCCAwugAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBsDELMAkGA1UEBhMCRVMx -DzANBgNVBAgTBk1hZHJpZDEPMA0GA1UEBxMGTWFkcm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Cvo0xDIGHP +LMNXcnAxIywYzn2ru6pDZaPE0d0DrsOusAdCDFErsd/eAhg4i5Fm+AYr7QvOu4h5 +X3CUGYc0artPbzkXNSi76PvuHSko4mqkHeA3aqkHWzlyYK3I0S0akQIDAQABo2Iw +YDARBglghkgBhvhCAQEEBAMCBLAwCwYDVR0PBAQDAgTwMB0GA1UdDgQWBBSmOp4w +x1PO+lCQY1q1CrUIRXv4tzAfBgNVHSMEGDAWgBQ6247O1RpQyoxz2B0UBi1aoxJD +gzANBgkqhkiG9w0BAQsFAAOCAQEAiZBHlXHH/6BUooMc0chwx6UTizmqRvtHBJtE +Uf50x6pX4tka47RY31E25SVZIIix/G5xyWvdLtnD1vJQoW1VpzcNAy0PkL6PK8Xg +r8ZlBeeTZZhfvFtMOAMv/2ULXCeBXyjC1axbARZpZDzAckg+icZf5FwZjkOUIhRK +sUPrKM9rZV4bRw5nxbWdY5V8Lf/uuMGxiGVuUgb9hvxVoDPX/nH/5qO7MstwMvGZ +lgCEJv/ZZ/ffVUmk5DuT9BZivl221RZuB/ooNhhN7Kl+vWLM0Ct/YCb3vTLPZ5Ra +3ONDubNQPbZviW+z4lPfP4R32d76MAYcpa0f1sV9NfipF+jC6g== -----END CERTIFICATE----- diff --git a/certs/client.csr b/certs/client.csr index 9fe1b65..e05297c 100644 --- a/certs/client.csr +++ b/certs/client.csr @@ -1,18 +1,18 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIC2jCCAcICAQAwgZQxCzAJBgNVBAYTAkVTMQ8wDQYDVQQIEwZNYWRyaWQxDzAN -BgNVBAcTBk1hZHJpZDEZMBcGA1UEChMQV2lGaUNoYWxsZW5nZUxhYjEcMBoGA1UE -AxMTV2lGaUNoYWxsZW5nZUxhYiBDQTEqMCgGCSqGSIb3DQEJARYbY2xpZW50QFdp -RmlDaGFsbGVuZ2VMYWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAqqPK9OjxTuUOfPsDyItNsabVT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ICnbYwHzttikRJexJURFBEGGEsms2taYS +TiLuDJz1oRqugIHv8SQOdEypbQ/FKuSxlSBOoTgRMk46uEuljuw7N6CTBchVJMX4 +VDNZ/HbKl5lq24Cvo0xDIGHPLMNXcnAxIywYzn2ru6pDZaPE0d0DrsOusAdCDFEr +sd/eAhg4i5Fm+AYr7QvOu4h5X3CUGYc0artPbzkXNSi76PvuHSko4mqkHeA3aqkH +WzlyYK3I0S0akQIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAEgN11SogBraNcrg +qczpGn4mao0TlXv9Sjq56+nbcvoe7QBXRndSbMYSmrm8YDsB5Nze+cMn3d7RwPVN +gbII7wF62bcSqYlh0N3p3y2vhvqhjLsYEXoSERSD7FifUn07uQdbalGsql2mSb0j +LnHWOFIC75KRmeTnQMSgmGuyA5LANk7INAQVsN+HDB004HRtBKOIL9uGoRsDZQRy +rwBMrO7HtR/k8tGvkEZtM6ZdQVSpyrsgGcixulc+7KaSribKoHjsGKOJiFf3u9IB +/wf0S3cA97z6+BnAA+JBbUXnyJ695D/hNauYNGpiO8aJQCeJPfagK59wdMpuPdS3 +lxOaQ+w= -----END CERTIFICATE REQUEST----- diff --git a/certs/client.ext b/certs/client.ext index 8a509fe..af92885 100644 --- a/certs/client.ext +++ b/certs/client.ext @@ -1,5 +1,5 @@ extensions = x509v3 - + [ x509v3 ] nsCertType = client,email,objsign keyUsage = digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment diff --git a/certs/client.key b/certs/client.key index 6e0857a..f1a6ffa 100644 --- a/certs/client.key +++ b/certs/client.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCqo8r06PFO5Q58 -+wPIi02xptVPr0aClkL9rxu2tHPrWhD9uKStNvwVUkm2WS+f0xYBPBQuqfccDprc -aXxXiByIvU6DhitlzMJtBebt55Uodi50V6TOFm17eJ9QHOAxq+ZRcti7ikXY+/+7 -D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+NVXbB4u3bZ+dz47mawpHSi+uuilQBGKh51ZxnOO+uQKBgQD4UsL9t7A8tYrpnG4t +Kien/Hq9Wx3mb3rnk/plGT1iL9Ydcc6ovR7TUBLGwbcTUdc5oRDYO/A81Rsn6B6O +zigaJiNayJ307fHK7zkXkaej2xgNmoJuA1nQgOp5Uqa4PfmTITvYVJ76vp+VFAGD +Gmi+/b2LNxRBdUwvxjDtzi/mxQKBgQD0+4vxSJGFBc0NZIqO7cxDh6R5cIcZdjiT +tlcXxuT4DonvvIBAWryPkWCdy3Yg5gzWMSXv2LGtkocqnhbrZnT7RqoKB9GBw0Xu +qw+TKeLEXJfFKcPlHP5Y2E8rJ6rXSbxfxGu904LrWewX5z3Quctey8UzV22qjTx5 +CgXSHFmBXQKBgEyFHEcYqnsaqjKwnJbYTZ4LRDtDb6RJqALia59ptquh+AXcwwTm +OjB9lTugB+0xI/RDOLCZT78/H/4dHgV9a4gbRnu8JEiMZhzVuK8VmCX65p+ShCyo +Za3Fe/tkx7Ewj86RyCIyeUblJMHIh2rB4ZMxF45lq508KvzxwrQU/FfNAoGBAJ15 +YLBdlGTsoK1+Nm6/vvCdrYT+Z2lfi+ivafZ3vFETj2kSQ2KasOCcc32a/rkRB6lb +eGZfZX8MVGR5sIPqnUG0X7MI6Yw/CKHtRZq0bvcICesL+Mc6xug3S1STMAcpd7Qb +n6Iq5toAOHn5A8w60daCp6VkCrN6DChF4A36eTJlAoGAa90lvgMgdP8P/48zPgXM +EXvFClIC8IcZBMCpmbg817Q0DRDA2/k4QMwzxzwlnOM0uI9sMl9IlDqrUT9e5CYs ++H2XsZ0x69SQvpdTbFBfVCxeWlGLB06bNRmAHr5Ub7ACfXZeLqEE5GLl0gCGRDYG +hxH74zz9lPp7EiIZvJcQ7Yo= -----END PRIVATE KEY----- diff --git a/certs/client.pem.crt b/certs/client.pem.crt index 328d22c..092db8e 100644 --- a/certs/client.pem.crt +++ b/certs/client.pem.crt @@ -1,53 +1,52 @@ -----BEGIN CERT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x3mb3rnk/plGT1iL9Ydcc6ovR7TUBLGwbcTUdc5oRDYO/A81Rsn6B6O +zigaJiNayJ307fHK7zkXkaej2xgNmoJuA1nQgOp5Uqa4PfmTITvYVJ76vp+VFAGD +Gmi+/b2LNxRBdUwvxjDtzi/mxQKBgQD0+4vxSJGFBc0NZIqO7cxDh6R5cIcZdjiT +tlcXxuT4DonvvIBAWryPkWCdy3Yg5gzWMSXv2LGtkocqnhbrZnT7RqoKB9GBw0Xu +qw+TKeLEXJfFKcPlHP5Y2E8rJ6rXSbxfxGu904LrWewX5z3Quctey8UzV22qjTx5 +CgXSHFmBXQKBgEyFHEcYqnsaqjKwnJbYTZ4LRDtDb6RJqALia59ptquh+AXcwwTm +OjB9lTugB+0xI/RDOLCZT78/H/4dHgV9a4gbRnu8JEiMZhzVuK8VmCX65p+ShCyo +Za3Fe/tkx7Ewj86RyCIyeUblJMHIh2rB4ZMxF45lq508KvzxwrQU/FfNAoGBAJ15 +YLBdlGTsoK1+Nm6/vvCdrYT+Z2lfi+ivafZ3vFETj2kSQ2KasOCcc32a/rkRB6lb +eGZfZX8MVGR5sIPqnUG0X7MI6Yw/CKHtRZq0bvcICesL+Mc6xug3S1STMAcpd7Qb +n6Iq5toAOHn5A8w60daCp6VkCrN6DChF4A36eTJlAoGAa90lvgMgdP8P/48zPgXM +EXvFClIC8IcZBMCpmbg817Q0DRDA2/k4QMwzxzwlnOM0uI9sMl9IlDqrUT9e5CYs ++H2XsZ0x69SQvpdTbFBfVCxeWlGLB06bNRmAHr5Ub7ACfXZeLqEE5GLl0gCGRDYG +hxH74zz9lPp7EiIZvJcQ7Yo= -----END PRIVATE KEY----- diff --git a/certs/createCert.sh b/certs/createCert.sh index 6562e06..3b8dc04 100644 --- a/certs/createCert.sh +++ b/certs/createCert.sh @@ -1,17 +1,22 @@ +#!/bin/bash + #https://wiki.innovaphone.com/index.php?title=Howto:802.1X_EAP-TLS_With_FreeRadius#Creation_Of_A_Self-Signed_CA_Certificate -# 2048 -#Clean -rm ca.* client.* server.* +# Global variable for certificate validity in days (10 years) +CERT_VALIDITY_DAYS=3650 + +# Clean up any existing files +rm -f ca.* client.* server.* -#Creation Of A Self-Signed CA Certificate +# Creation Of A Self-Signed CA Certificate openssl genrsa -out ca.key 2048 -echo '[ req ] +cat < ca.conf +[ req ] default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES @@ -30,13 +35,14 @@ commonName_max = 64 commonName_default = WiFiChallenge CA emailAddress = "7. Email Address (eg, name@FQDN)" emailAddress_max = 40 -emailAddress_default = ca@WiFiChallenge.com' > ca.conf +emailAddress_default = ca@WiFiChallenge.com +EOF openssl req -config ca.conf -new -key ca.key -out ca.csr -echo ' +cat < ca.ext extensions = x509v3 - + [ x509v3 ] basicConstraints = CA:true,pathlen:0 crlDistributionPoints = URI:http://WiFiChallenge.com/ca/mustermann.crl @@ -44,25 +50,25 @@ nsCertType = sslCA,emailCA,objCA nsCaPolicyUrl = "http://WiFiChallenge.com/ca/policy.htm" nsCaRevocationUrl = "http://WiFiChallenge.com/ca/heimpold.crl" nsComment = "WiFiChallenge CA" -' > ca.ext +EOF -openssl x509 -days 1095 -extfile ca.ext -signkey ca.key -in ca.csr -req -out ca.crt +openssl x509 -days $CERT_VALIDITY_DAYS -extfile ca.ext -signkey ca.key -in ca.csr -req -out ca.crt -#Creation Of A Server Certificate +# Creation Of A Server Certificate openssl genrsa -out server.key 2048 -echo ' + +cat < server.conf [ req ] default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES countryName_min = 2 countryName_max = 2 stateOrProvinceName = "2. State or Province Name (full name) " -#stateOrProvinceName_default = localityName = "3. Locality Name (eg, city) " localityName_default = Madrid 0.organizationName = "4. Organization Name (eg, company) " @@ -75,30 +81,32 @@ commonName_default = WiFiChallenge CA emailAddress = "7. Email Address (eg, name@FQDN)" emailAddress_max = 40 emailAddress_default = server@WiFiChallenge.com +EOF -' > server.conf +cat < server.ext +extensions = x509v3 -echo 'extensions = x509v3 - [ x509v3 ] nsCertType = server keyUsage = digitalSignature,nonRepudiation,keyEncipherment -extendedKeyUsage = msSGC,nsSGC,serverAuth' > server.ext +extendedKeyUsage = msSGC,nsSGC,serverAuth +EOF echo -ne '01' > ca.serial openssl req -config server.conf -new -key server.key -out server.csr -openssl x509 -days 730 -extfile server.ext -CA ca.crt -CAkey ca.key -CAserial ca.serial -in server.csr -req -out server.crt +openssl x509 -days $CERT_VALIDITY_DAYS -extfile server.ext -CA ca.crt -CAkey ca.key -CAserial ca.serial -in server.csr -req -out server.crt -#Creation Of A Client Certificate +# Creation Of A Client Certificate openssl genrsa -out client.key 2048 -echo '[ req ] +cat < client.conf +[ req ] default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES @@ -111,20 +119,24 @@ localityName_default = Madrid 0.organizationName = "4. Organization Name (eg, company) " 0.organizationName_default = WiFiChallenge organizationalUnitName = "5. Organizational Unit Name (eg, section) " -#organizationalUnitName_default = commonName = "6. Common Name (eg, CA name) " commonName_max = 64 commonName_default = WiFiChallenge CA emailAddress = "7. Email Address (eg, name@FQDN)" emailAddress_max = 40 -emailAddress_default = client@WiFiChallenge.com' > client.conf +emailAddress_default = client@WiFiChallenge.com +EOF + +cat < client.ext +extensions = x509v3 -echo 'extensions = x509v3 - [ x509v3 ] nsCertType = client,email,objsign -keyUsage = digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment' > client.ext +keyUsage = digitalSignature,nonRepudiation,keyEncipherment,dataEncipherment +EOF openssl req -config client.conf -new -key client.key -out client.csr -openssl x509 -days 730 -extfile client.ext -CA ca.crt -CAkey ca.key -CAserial ca.serial -in client.csr -req -out client.crt + +openssl x509 -days $CERT_VALIDITY_DAYS -extfile client.ext -CA ca.crt -CAkey ca.key -CAserial ca.serial -in client.csr -req -out client.crt + cat client.crt client.key > client.pem.crt diff --git a/certs/server.conf b/certs/server.conf index 8a979c0..2742977 100644 --- a/certs/server.conf +++ b/certs/server.conf @@ -1,16 +1,14 @@ - [ req ] default_bits = 2048 distinguished_name = req_DN string_mask = nombstr - + [ req_DN ] countryName = "1. Country Name (2 letter code)" countryName_default = ES countryName_min = 2 countryName_max = 2 stateOrProvinceName = "2. State or Province Name (full name) " -#stateOrProvinceName_default = localityName = "3. Locality Name (eg, city) " localityName_default = Madrid 0.organizationName = "4. Organization Name (eg, company) " @@ -23,5 +21,3 @@ commonName_default = WiFiChallenge CA emailAddress = "7. Email Address (eg, name@FQDN)" emailAddress_max = 40 emailAddress_default = server@WiFiChallenge.com - - diff --git a/certs/server.crt b/certs/server.crt index a7933ad..ace091b 100644 --- a/certs/server.crt +++ b/certs/server.crt @@ -1,26 +1,25 @@ -----BEGIN CERTIFICATE----- -MIIEUTCCAzmgAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBsDELMAkGA1UEBhMCRVMx -DzANBgNVBAgTBk1hZHJpZDEPMA0GA1UEBxMGTWFkcmlkMRkwFwYDVQQKExBXaUZp -Q2hhbGxlbmdlTGFiMR4wHAYDVQQLExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxHDAa -BgNVBAMTE1dpRmlDaGFsbGVuZ2VMYWIgQ0ExJjAkBgkqhkiG9w0BCQEWF2NhQFdp -RmlDaGFsbGVuZ2VMYWIuY29tMB4XDTIzMDIxOTE3NDk0NloXDTI1MDIxODE3NDk0 -NlowgZQxCzAJBgNVBAYTAkVTMQ8wDQYDVQQHEwZNYWRyaWQxGTAXBgNVBAoTEFdp -RmlDaGFsbGVuZ2VMYWIxDzANBgNVBAsTBlNlcnZlcjEcMBoGA1UEAxMTV2lGaUNo -YWxsZW5nZUxhYiBDQTEqMCgGCSqGSIb3DQEJARYbc2VydmVyQFdpRmlDaGFsbGVu -Z2VMYWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo8+4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/vCOGhJ+YHZbq6Ad/sWn0rv4ehIazHefGpzWDZcwo/sAbf +E8KPD6gSK6eWj/ZQtjJ2ztVl6qmz+UVJf27VwKjF5idLsUOhBU2c8DcYFYIsimUH +JzxJ/EWVkp1LtyfIXEhRQHnzyrwMpeNFoov7PLOivsM2lVd30lGjAEblXXJdgoCW +cuTyeMVycaVT26tS6ZKMv06A38rRx4vI/pXu9Y0Y6zGUJs/65Buno96vEfeYASmU +ttwzIi4+NakBjax6eEWAZwbixWDGKGGhXvx1aGb2GrBLLxs= -----END CERTIFICATE----- diff --git a/certs/server.csr b/certs/server.csr index d0530d9..2595671 100644 --- a/certs/server.csr +++ b/certs/server.csr @@ -1,18 +1,18 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIC2jCCAcICAQAwgZQxCzAJBgNVBAYTAkVTMQ8wDQYDVQQHEwZNYWRyaWQxGTAX -BgNVBAoTEFdpRmlDaGFsbGVuZ2VMYWIxDzANBgNVBAsTBlNlcnZlcjEcMBoGA1UE -AxMTV2lGaUNoYWxsZW5nZUxhYiBDQTEqMCgGCSqGSIb3DQEJARYbc2VydmVyQFdp -RmlDaGFsbGVuZ2VMYWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAo8+4o0sZIg3BxB5/u+vv82o8O5UX9j8fgiNsISNvFUyPez4wjeF5SpEjPhJw -4EFUZgRk+0KFWWTUGKRrVXarRE8kz+WcmApfgYmdDAjl5vZzR/ZRkGeJquMsm7Wz -oIu73yBmCqzkfgWTyScnDCm32jtSASeS/PXsQqb3wFt7Ubdc0o25omBi/JPR2SYZ -v09Yz0PNp/b7bE0asORELjeg+VcLwZZT/2fYKIkGkDYYGrVjeRvCPNTCygDqwA2o -t83eVQJ/JwFyrhK3wgdn4NPEk8NtIpf5QK6ZbDHFc2QNQwsx/ZvJ+6CoyZHfRxKh -r1oe5xOWKRninEFhuyb0MYZVpQIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAFe6 -i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UVmxi3lXjVNcnzl8QUxTQHQnVA8Ao3gIGxbkINZI7+b95g8PTGE/WXr0C1RNfH +bawOvNTlJov5a/f8ksND7dtCXIAKJ4r1n5jcO17SGJ5ZK1ANdJipITgI6OMCqJ8E +IB1Tqac/B9vKnxdJbroulj0cVskPk/RN4ugefAVvDHQpkU5EkAq/zcNbeo2WTDaf +4t1k3rlmXzr9yO4nr/1QYSD+DwcroTtttBF1Yvsnkh9kvc98sB1BvUH8QK3ziL0P +RS/C78s= -----END CERTIFICATE REQUEST----- diff --git a/certs/server.ext b/certs/server.ext index 7e6d6b5..b2bae1c 100644 --- a/certs/server.ext +++ b/certs/server.ext @@ -1,5 +1,5 @@ extensions = x509v3 - + [ x509v3 ] nsCertType = server keyUsage = digitalSignature,nonRepudiation,keyEncipherment diff --git a/certs/server.key b/certs/server.key index d457134..5f60897 100644 --- a/certs/server.key +++ b/certs/server.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCjz7ijSxkiDcHE -Hn+76+/zajw7lRf2Px+CI2whI28VTI97PjCN4XlKkSM+EnDgQVRmBGT7QoVZZNQY -pGtVdqtETyTP5ZyYCl+BiZ0MCOXm9nNH9lGQZ4mq4yybtbOgi7vfIGYKrOR+BZPJ -JycMKbfaO1IBJ5L89exCpvfAW3tRt1zSjbmiYGL8k9HZJhm/T1jPQ82n9vtsTRqw -5EQuN6D5VwvBllP/Z9goiQaQNhgatWN5G8I81MLKAOrADai3zd5VAn8nAXKuErfC -B2fg08STw20il/lArplsMcVzZA1DCzH9m8n7oKjJkd9HEqGvWh7nE5YpGeKcQWG7 -JvQxhlWlAgMBAAECggEADUvjJ+avXFHYtconokcOfnKpKh6aEpFBReS0AO+ZnhVi -uxqglyT4sv+wvY0tJNggro7c7H5+iPOeef6Uk3FoXvPRSt+6HtGOutrC84hgXZIz -vXZbXK45djRuOUMIg3em0P/ApfgD1vfYbQDffO+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