/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys$ ./run.sh /C=US/ST=IN/L=Change Me Locality/O=Change me Organization/OU=Devices/CN=Root CA GENERATING KEY Enter PEM pass phrase: Verifying - Enter PEM pass phrase: Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/root/private/ca.key.pem: 139900972209472:error:28078065:UI routines:UI_set_result_ex:result too small:../crypto/ui/ui_lib.c:905:You must type in 4 to 1023 characters Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/root/private/ca.key.pem: 139900972209472:error:2807106B:UI routines:UI_process:processing error:../crypto/ui/ui_lib.c:545:while reading strings Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/root/private/ca.key.pem: Private-Key: (256 bit) priv: 43:42:66:d5:d7:6a:5c:ea:8d:90:e4:81:95:2e:07: cd:fd:0e:e1:6c:68:7e:58:3b:ec:ae:15:e3:40:f4: d4:cf pub: 04:28:e0:53:70:53:80:33:1f:5d:60:15:54:53:44: 20:01:b0:a3:81:99:0a:8e:87:95:74:4d:bd:da:a5: 6c:ff:2d:36:d2:ec:30:6b:01:1a:62:a6:88:af:d1: d0:a4:ce:25:ba:c2:57:0d:09:2f:8c:26:4f:54:d0: b0:7a:96:a6:22 ASN1 OID: prime256v1 NIST CURVE: P-256 GENERATING and SIGNING REQ Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/root/private/ca.key.pem: Certificate: Data: Version: 3 (0x2) Serial Number: 9166104889898986391 (0x7f348bd550666b97) Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = IN, L = Change Me Locality, O = Change me Organization, OU = Devices, CN = Root CA Validity Not Before: Jan 4 12:19:48 2021 GMT Not After : Dec 30 12:19:48 2040 GMT Subject: C = US, ST = IN, L = Change Me Locality, O = Change me Organization, OU = Devices, CN = Root CA Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:28:e0:53:70:53:80:33:1f:5d:60:15:54:53:44: 20:01:b0:a3:81:99:0a:8e:87:95:74:4d:bd:da:a5: 6c:ff:2d:36:d2:ec:30:6b:01:1a:62:a6:88:af:d1: d0:a4:ce:25:ba:c2:57:0d:09:2f:8c:26:4f:54:d0: b0:7a:96:a6:22 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Subject Key Identifier: 66:59:74:8D:5A:32:6A:6D:12:F3:63:EE:B7:ED:BF:CF:A3:C9:7B:ED X509v3 Authority Key Identifier: keyid:66:59:74:8D:5A:32:6A:6D:12:F3:63:EE:B7:ED:BF:CF:A3:C9:7B:ED X509v3 Basic Constraints: critical CA:TRUE X509v3 Key Usage: critical Certificate Sign, CRL Sign X509v3 Subject Alternative Name: email:whatever@happens.example.com Signature Algorithm: ecdsa-with-SHA256 30:45:02:20:53:e2:bd:9f:d3:45:f6:77:0b:58:81:20:37:fe: 26:e4:2e:19:ad:3c:84:1e:8c:0a:a0:d6:60:4e:16:b8:7e:a1: 02:21:00:8a:a7:ae:3d:c9:7e:1b:18:e9:cb:03:fe:3b:9b:93: 92:ac:83:4c:c4:87:55:b8:98:b6:e2:04:5b:88:32:3f:a5 Certificate purposes: SSL client : No SSL client CA : Yes SSL server : No SSL server CA : Yes Netscape SSL server : No Netscape SSL server CA : Yes S/MIME signing : No S/MIME signing CA : Yes S/MIME encryption : No S/MIME encryption CA : Yes CRL signing : Yes CRL signing CA : Yes Any Purpose : Yes Any Purpose CA : Yes OCSP helper : Yes OCSP helper CA : Yes Time Stamp signing : No Time Stamp signing CA : Yes -----BEGIN CERTIFICATE----- MIICfDCCAiKgAwIBAgIIfzSL1VBma5cwCgYIKoZIzj0EAwIwfDELMAkGA1UEBhMC VVMxCzAJBgNVBAgMAklOMRswGQYDVQQHDBJDaGFuZ2UgTWUgTG9jYWxpdHkxHzAd BgNVBAoMFkNoYW5nZSBtZSBPcmdhbml6YXRpb24xEDAOBgNVBAsMB0RldmljZXMx EDAOBgNVBAMMB1Jvb3QgQ0EwHhcNMjEwMTA0MTIxOTQ4WhcNNDAxMjMwMTIxOTQ4 WjB8MQswCQYDVQQGEwJVUzELMAkGA1UECAwCSU4xGzAZBgNVBAcMEkNoYW5nZSBN ZSBMb2NhbGl0eTEfMB0GA1UECgwWQ2hhbmdlIG1lIE9yZ2FuaXphdGlvbjEQMA4G A1UECwwHRGV2aWNlczEQMA4GA1UEAwwHUm9vdCBDQTBZMBMGByqGSM49AgEGCCqG SM49AwEHA0IABCjgU3BTgDMfXWAVVFNEIAGwo4GZCo6HlXRNvdqlbP8tNtLsMGsB GmKmiK/R0KTOJbrCVw0JL4wmT1TQsHqWpiKjgY0wgYowHQYDVR0OBBYEFGZZdI1a MmptEvNj7rftv8+jyXvtMB8GA1UdIwQYMBaAFGZZdI1aMmptEvNj7rftv8+jyXvt MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMCcGA1UdEQQgMB6BHHdo YXRldmVyQGhhcHBlbnMuZXhhbXBsZS5jb20wCgYIKoZIzj0EAwIDSAAwRQIgU+K9 n9NF9ncLWIEgN/4m5C4ZrTyEHowKoNZgTha4fqECIQCKp649yX4bGOnLA/47m5OS rINMxIdVuJi24gRbiDI/pQ== -----END CERTIFICATE----- /C=US/ST=IN/L=ChangeMe Intermediate Locality/O=ChangeMe Intermediate Org/OU=Devices/CN=802.1AR CA email:whatever@intermediate.example.com Enter PEM pass phrase: Verifying - Enter PEM pass phrase: Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/8021ARintermediate/private/8021ARintermediate.key.pem: Private-Key: (256 bit) priv: 09:09:6e:55:11:75:7a:6e:ed:05:c4:86:43:75:e9: d3:0d:90:68:70:61:8f:95:ad:bf:ef:1a:fc:20:5f: c1:ca pub: 04:7f:2c:a1:3b:3d:c3:80:7d:e6:a7:40:3b:c0:79: 83:c9:5d:6b:e5:a4:d2:06:60:28:22:e5:06:29:65: ce:51:eb:2f:21:ac:23:ca:b8:54:7e:d9:c6:40:9d: 7d:60:41:b7:72:92:72:a2:39:16:bf:2f:1e:fc:b9: e1:20:96:e9:e3 ASN1 OID: prime256v1 NIST CURVE: P-256 Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/8021ARintermediate/private/8021ARintermediate.key.pem: verify OK Certificate Request: Data: Version: 1 (0x0) Subject: C = US, ST = IN, L = ChangeMe Intermediate Locality, O = ChangeMe Intermediate Org, OU = Devices, CN = 802.1AR CA Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:7f:2c:a1:3b:3d:c3:80:7d:e6:a7:40:3b:c0:79: 83:c9:5d:6b:e5:a4:d2:06:60:28:22:e5:06:29:65: ce:51:eb:2f:21:ac:23:ca:b8:54:7e:d9:c6:40:9d: 7d:60:41:b7:72:92:72:a2:39:16:bf:2f:1e:fc:b9: e1:20:96:e9:e3 ASN1 OID: prime256v1 NIST CURVE: P-256 Attributes: Requested Extensions: X509v3 Subject Alternative Name: email:whatever@intermediate.example.com Signature Algorithm: ecdsa-with-SHA256 30:46:02:21:00:fb:ed:57:67:1e:ee:59:f0:57:5a:1a:b2:81: 3d:df:73:8b:d7:51:ca:63:58:a6:ec:67:09:ab:21:19:05:37: da:02:21:00:e3:92:2f:5a:5c:86:98:73:77:22:a4:ab:62:00: 46:97:b8:e4:58:d4:40:26:ab:fa:5f:68:02:45:5b:69:e6:fa Using configuration from /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-root.cnf Enter pass phrase for /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/root/private/ca.key.pem: Check that the request matches the signature Signature ok Certificate Details: Serial Number: 0 (0x0) Validity Not Before: Jan 4 12:20:11 2021 GMT Not After : Jan 2 12:20:11 2031 GMT Subject: countryName = US stateOrProvinceName = IN organizationName = ChangeMe Intermediate Org organizationalUnitName = Devices commonName = 802.1AR CA X509v3 extensions: X509v3 Subject Key Identifier: 0C:DD:AA:77:D4:D5:F0:99:E1:9C:33:72:CB:60:DB:0D:DE:C3:E2:50 X509v3 Authority Key Identifier: keyid:66:59:74:8D:5A:32:6A:6D:12:F3:63:EE:B7:ED:BF:CF:A3:C9:7B:ED X509v3 Basic Constraints: critical CA:TRUE, pathlen:0 X509v3 Key Usage: critical Certificate Sign, CRL Sign X509v3 Subject Alternative Name: email:whatever@intermediate.example.com Certificate is to be certified until Jan 2 12:20:11 2031 GMT (3650 days) Sign the certificate? [y/n]:y 1 out of 1 certificate requests certified, commit? [y/n]y Write out database with 1 new entries Data Base Updated Can't open /certs/8021ARintermediate.cert.pem for reading, No such file or directory 140206423381312:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/certs/8021ARintermediate.cert.pem','r') 140206423381312:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: unable to load certificate Certificate: Data: Version: 3 (0x2) Serial Number: 0 (0x0) Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = IN, L = Change Me Locality, O = Change me Organization, OU = Devices, CN = Root CA Validity Not Before: Jan 4 12:20:11 2021 GMT Not After : Jan 2 12:20:11 2031 GMT Subject: C = US, ST = IN, O = ChangeMe Intermediate Org, OU = Devices, CN = 802.1AR CA Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:7f:2c:a1:3b:3d:c3:80:7d:e6:a7:40:3b:c0:79: 83:c9:5d:6b:e5:a4:d2:06:60:28:22:e5:06:29:65: ce:51:eb:2f:21:ac:23:ca:b8:54:7e:d9:c6:40:9d: 7d:60:41:b7:72:92:72:a2:39:16:bf:2f:1e:fc:b9: e1:20:96:e9:e3 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Subject Key Identifier: 0C:DD:AA:77:D4:D5:F0:99:E1:9C:33:72:CB:60:DB:0D:DE:C3:E2:50 X509v3 Authority Key Identifier: keyid:66:59:74:8D:5A:32:6A:6D:12:F3:63:EE:B7:ED:BF:CF:A3:C9:7B:ED X509v3 Basic Constraints: critical CA:TRUE, pathlen:0 X509v3 Key Usage: critical Certificate Sign, CRL Sign X509v3 Subject Alternative Name: email:whatever@intermediate.example.com Signature Algorithm: ecdsa-with-SHA256 30:44:02:20:49:97:ca:bc:90:2e:ac:1f:d3:1f:97:74:f5:8b: 5e:87:be:d8:1b:17:ae:9c:db:d4:d7:ae:69:8e:04:83:bb:1f: 02:20:29:a9:94:b8:58:4f:37:49:54:d7:56:bb:bc:c4:fe:97: 6b:a1:ab:15:91:f3:b6:72:47:3c:28:e9:13:00:97:b1 /C=US/ST=IN/L=Change Me Locality/O=Change me Organization/OU=Devices/CN=Root CA /C=US/ST=IN/L=ChangeMe Intermediate Locality/O=ChangeMe Intermediate Org/OU=Devices/CN=802.1AR CA email:whatever@intermediate.example.com /O=HTT Consulting/OU=Devices/serialNumber=server 1.3.6.1.4.1.6715.10.1 - 01020304 genpkey: Can't open "/private/server.key.pem" for writing, No such file or directory chmod: não foi possível acessar '/private/server.key.pem': Arquivo ou diretório não encontrado Can't open /private/server.key.pem for reading, No such file or directory 139679644505408:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/private/server.key.pem','r') 139679644505408:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: unable to load key req: Error on line 21 of config file "/home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf" 139787750765888:error:0E065068:configuration file routines:str_copy:variable has no value:../crypto/conf/conf_def.c:622:line 21 Can't open /csr/server.csr.pem for reading, No such file or directory 140085474964800:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/csr/server.csr.pem','r') 140085474964800:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: Can't open /csr/server.csr.pem for reading, No such file or directory 139825457898816:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/csr/server.csr.pem','r') 139825457898816:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: ./generate-freeradius-cert.sh: linha 48: /serial: Permissão negada Using configuration from /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf ca: Error on line 21 of config file "/home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf" 140603223258432:error:0E065068:configuration file routines:str_copy:variable has no value:../crypto/conf/conf_def.c:622:line 21 chmod: não foi possível acessar '/certs/server.cert.pem': Arquivo ou diretório não encontrado Error loading file /certs/ca-chain.cert.pem Can't open /certs/server.cert.pem for reading, No such file or directory 140199239984448:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/certs/server.cert.pem','r') 140199239984448:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: unable to load certificate Can't open /certs/server.cert.pem for reading, No such file or directory 139983692186944:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/certs/server.cert.pem','r') 139983692186944:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: /C=US/ST=IN/L=Change Me Locality/O=Change me Organization/OU=Devices/CN=Root CA /C=US/ST=IN/L=ChangeMe Intermediate Locality/O=ChangeMe Intermediate Org/OU=Devices/CN=802.1AR CA email:whatever@intermediate.example.com /O=HTT Consulting/OU=Devices/serialNumber=Wt1234 1.3.6.1.4.1.6715.10.1 - 01020304 genpkey: Can't open "/private/Wt1234.key.pem" for writing, No such file or directory chmod: não foi possível acessar '/private/Wt1234.key.pem': Arquivo ou diretório não encontrado Can't open /private/Wt1234.key.pem for reading, No such file or directory 140109809767744:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/private/Wt1234.key.pem','r') 140109809767744:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: unable to load key req: Error on line 21 of config file "/home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf" 140462308410688:error:0E065068:configuration file routines:str_copy:variable has no value:../crypto/conf/conf_def.c:622:line 21 Can't open /csr/Wt1234.csr.pem for reading, No such file or directory 139646772221248:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/csr/Wt1234.csr.pem','r') 139646772221248:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: Can't open /csr/Wt1234.csr.pem for reading, No such file or directory 140624783717696:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/csr/Wt1234.csr.pem','r') 140624783717696:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: ./generate-iDevID-8021AR.sh: linha 48: /serial: Permissão negada Using configuration from /home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf ca: Error on line 21 of config file "/home/test/Downloads/MUD-Manager-49fede64ddd38690f9777b729468f41dc455c6b9/examples/certs_and_keys/openssl-8021ARintermediate.cnf" 140347573032256:error:0E065068:configuration file routines:str_copy:variable has no value:../crypto/conf/conf_def.c:622:line 21 chmod: não foi possível acessar '/certs/Wt1234.cert.pem': Arquivo ou diretório não encontrado Error loading file /certs/ca-chain.cert.pem Can't open /certs/Wt1234.cert.pem for reading, No such file or directory 139865443419456:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/certs/Wt1234.cert.pem','r') 139865443419456:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: unable to load certificate Can't open /certs/Wt1234.cert.pem for reading, No such file or directory 139765396571456:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/certs/Wt1234.cert.pem','r') 139765396571456:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: