summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/kuksa-val
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-07-20 22:42:38 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-07-31 16:21:05 +0000
commite5ab749de2db4e3902159ee641ea5df08223d813 (patch)
tree142b9cd9bb914cbcf79f2d0e156fc827858ecbb9 /recipes-connectivity/kuksa-val
parent4b1a8c3c557b283372f8853672da641bfef06ef4 (diff)
Update certificates to include localhost and 127.0.0.1
This updates the certificates to have subjectAltName defined as subjectAltName=DNS:$1,DNS:localhost,IP:127.0.0.1 It allows clients from the localhost to connect. We're debating if we need the IP:127.0.0.1 going forward, so this might change in the future. Bug-AGL: SPEC-4868 Change-Id: Ic6bbf5fd55b9f6a14a84512ae8748b3f48dbc3c1 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-connectivity/kuksa-val')
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-certificates-agl/CA.pem42
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.key55
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.pem49
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.key55
-rw-r--r--recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.pem49
-rwxr-xr-xrecipes-connectivity/kuksa-val/kuksa-certificates-agl/genCertsAGL.sh58
6 files changed, 177 insertions, 131 deletions
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/CA.pem b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/CA.pem
index 55e344094..b3fa17d69 100644
--- a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/CA.pem
+++ b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/CA.pem
@@ -1,23 +1,23 @@
-----BEGIN CERTIFICATE-----
-MIID2TCCAsECFF8Fc0+krnLo4rK6tD8ZS5JVGX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aXPKVoVQPyeiwNgP7sfn5XOx+THpYz2Lwl2ew/
+490Mm5Wrw5pQkq49s5On5tR7cdms3CWnVKe+qpeJo/ShZg8mJesMusZRLZ3slSPp
+GMVBbdFPhIv0L4HFzoJcnEzo1j6+h7fhu4v5T2qNkCkBlxehqvsy3DwfAgMBAAEw
+DQYJKoZIhvcNAQELBQADggEBALNHiz8a86sZv6Pii/rtrlctD2x1qIobOAjQID55
+/ylAVPc0JuzGEpc8Hcl9jQXBFz2ZBBYTEn0iAB+nn9BnxWYpF/G9LQsz61uzdJJs
+0WlR3FyjN8PwCysMwzGEmG2BH43vfg9oltAKxY4rZ3l5c8eL/a9o2vDzNjKNibll
+NdLB+8NkZz33pjyru1sG2lw6Y1gxhcOMSU7MuHgW1YI06slBu56e92OQt5atRc6l
+rY9faELSJpLhtKYF9spsS/LsITJrKdVkMZRgqrhoWAIB9qyehtBGk+Agk8MvBba8
+nRAF332SyeLeN/ytJTbjOmcYVh9daGADdyRb5d+5ALBuutU=
-----END CERTIFICATE-----
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.key b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.key
index 9cfb343e4..73b67f5c4 100644
--- a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.key
+++ b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.key
@@ -1,28 +1,27 @@
------BEGIN PRIVATE KEY-----
-MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCzek7Ri6AbR7O1
-V08kZ7xVXcWl7sKr0XV9xEXrtNcVLWCDY4GFxqpkHVJdu8Z8PzPE2d5YkcIwXJRP
-VV8+IekT6f58MhVuVFltPeYhuGHZ6FGZppX2pIVkijcvSLOySMT1tPMzs/l8ouOo
-XuhP8nJl+d3JMJDrTF1O2Hzg/Ej28nwQRupT4NjBB1mxv0SBTbEcsz9HnlkRP4Tu
-lRvUEd3DB1j9bjinroYe1bOpjA57dambLcf44Kb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zryECgYEA6oe9qYdiXsKygUji9W6rqYGPAl6o56nyAX6QrKnKhCQBmyVYgBB5
+YmehULzjK1Xvno5ophiBkojnCE8y99liEWZWnE9p2pr8O028ZfQficfbjWgkqmL5
+awmUTON40wK7QkpWj81YwbARYAQuC611R4MfzLWlnxxHacvBZc8x2j8CgYEA2t/a
+s6dW2XuqfEgfS/oKI/9i1/CXnPFVAueAPCCl/Ee/QAGJMdmSf4yonnbnOycGMdSh
+QGYUHb/PT7i04U+92T+rniprXn3QFz6iwF6X6nCkdlw9RxcWAOmg5l0yIoo9bp7J
+LmVnbn2Y2TOy8/Djq47gypTH8H0VSVg5BjKgOBcCgYAG3giosSUpPyw46uhyZVYz
+dW65lAoAFpLWhl04IRSj/+XoJBTOUy0qu3wWwCEqwK5uhx77VhZdMxMIxEDqzvu3
+JLb+hrjDxOwD1IfiuF5AC5EbN+Ry9Mj24GXuRm7gRuEy1LhqJ4okycIIfLbYcrDP
+ckB5HwyFdy+EIoo8L+/2wwKBgQDallPJteaTvuCtzC2NaEK2XritZjdUYuR+yQqV
+ghmjEVhcKOyGX37iaWyBDciyl6+lFnCQayHN8CCvwozKtCOrEt5nUH/4V3f5rvFF
+Y3MejK6DEm2UUOcFtE2foxWNzze5AVV0Q4t/mmmLCgm/fCUz0baIOvxPHeyjWjth
+CDBgswKBgQDj5QlFkdlgJvdJweHUSWm0vssFCgCucWEPgy5iOo4MDxEHq0r1AZWU
+K5j1xabtD73K6JmO3ElvSELGAd1MlvRzeZMsSP8goCk3e8a85js2sRPwDxGHa0Dd
+Ef7DoyFp6UIDOUAX6R2ylPyZYqM7bowoLdGIwh9jo8fZnvHn/UCw0w==
+-----END RSA PRIVATE KEY-----
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.pem b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.pem
index 7143d7d75..fcd92b6e5 100644
--- a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Client.pem
+++ b/recipes-connectivity/ku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EzSsBeo=
-----END CERTIFICATE-----
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.key b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.key
index c1344fca1..8b9c6ac66 100644
--- a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.key
+++ b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.key
@@ -1,28 +1,27 @@
------BEGIN PRIVATE KEY-----
-MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDcc0Doe3/eEaGA
-4yr3ql24LNcXc64TY65l1l+4WRgeFaQ7/W2z3eJU6sblDyJjah8Ydug87xPdROW9
-KUBuTYLrkdX71IOx8Y8t0zRTdk+5CujokoxLY5aEQc+aXebit0xowWuAg6hM/j+I
-b0bokVrD+aB4MoC1i8KqXau5E3u4b35cnoaD7B1ks4piXM9hV/jPIpkzKNieXD9f
-beECsohNRaZgkSpPq0it41Bfr8/8CUAOJZ920kWUr5uJNqR5oZ6Z7rBVbzFENDK8
-qiDklh242x39ZtDwqO6bE+r6gLutSwNsoLbeykvjgf2FgKol3g+JsTIVdkZutN9Z
-CQZZ8Q6fAgMBAAECggEAUrFbBjoZV2xGqEnOetOpzyXm0zG9+SD5sNKu2kB1ZweY
-MTaZ2ZAgT9k3nYHFVQRgQLWN3RmTWnt3MDNSq22g8Aum+I2Zjvy9SCPDK5GkSxW4
-E1Gxla/4LIlhPhb+Pkoiu+LeF/mK/sKag2u2bhPkN8IiOyQ6mp8f+PclLMoNrTtX
-CL9VH2GmVi0LR5zMRgQAdCfFZDo/e4aXDNs+LReiOlLUcI+klia/fn0HHe4Jet8h
-t8LoYza/FkCOvLjb6/2A7WYhE6rzWTJDH33Gk7+j/Mae+LUHx4UROL77tD2GCXfB
-0c4eFLaoXN2s1+UjCmnere/qJqVCE7ipeHarhmh/uQKBgQDjrVGYISamora4bzE/
-PLE4lkNJcxpyONs7d7WVUzs7WuD1ELW3gFBLeDDKhhL/Ifq+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52p0fJPpIVaFwECgYEAyhsRYTUJPGqVpxhf9Z9isY0wCZZeR4kqStZ1
+0HiMLxLrLvYh+gmGKxTwZ9P1wIlLUfYcuzGV4Mc1TwdYo+HqfmRa1+52e78JPQKA
+1YSKKQ2U1Wn3BzXSbn4tyd6cBTSWV36YOaasgBhNcVqz/5BN6/Tyk6Nfc/x2ucM0
+jSQiRIMCgYADss1PeYdANwbw8n29mXEGkk6qfVh54MU/AoS2v6kk6fqAHNFsb9vJ
+m3JkRYSh3kSKwKgD97oGMpbxLr0wVj69s4s8wPjhNo4RZALCB/sj9hra7rsoRzmQ
+apSPbfLaWVZEqg3fj0gCamSq8PGjY4fA9RNHOB751M2oszpQb8bdpA==
+-----END RSA PRIVATE KEY-----
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.pem b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.pem
index b4add6a20..4b181e9a3 100644
--- a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.pem
+++ b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/Server.pem
@@ -1,29 +1,24 @@
-----BEGIN CERTIFICATE-----
-MIIE5zCCA8+gAwIBAgIUZsoE7a5zcY96l9fWgANt2eueQ+YwDQYJKoZIhvcNAQEL
-BQAwgagxCzAJBgNVBAYTAkNBMRMwEQYDVQQIDApDYWxpZm9ybmlhMRYwFAYDVQQH
-DA1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKDBBMaW51eCBGb3VuZGF0aW9uMRUwEwYD
-VQQDDAxsb2NhbGhvc3QtY2ExOjA4BgkqhkiG9w0BCQEWK2FnbC1kZXYtY29tbXVu
-aXR5QGxpc3RzLmF1dG9tb3RpdmVsaW51eC5vcmcwHhcNMjMwNDI0MjIzMDIwWhcN
-MjUwNDIzMjIzMDIwWjCBojELMAkGA1UEBhMCQ0ExEzARBgNVBAgMCkNhbGlmb3Ju
-aWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xGTAXBgNVBAoM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F6bIq08tkUeUyi5mY0DKL8VvOc2KUkvX0aa8Kc6nh4VmyQVljXj/GNtJ5E
+WwGgJLXPCK5ZoRTC4eJ9C9QdLNPl5//ZLffKTUgwiT8x+gK+C6Azw38CAwEAAaMm
+MCQwIgYDVR0RBBswGYIGU2VydmVygglsb2NhbGhvc3SHBH8AAAEwDQYJKoZIhvcN
+AQELBQADggEBAKLnUuIYKU7kX6hw2kWziAzvucZCwkKDnMK1/xqakcgfnFw+z8nu
+XSqNsXX0KNBfy0xhZ66Uc9rL37RG+smidxJxy+QmDi3c/Ooqj7DxbZwVXzstnbBp
++iqgfqjadC8Glfci7cfCnl7X4O3oQqo99BJDo7JH3S39fe98mG4mXa1WblKiWnkc
+yDtUnf7eFbFeNbVkL94HGzOtghShHokGyt9vZKyGf+szCPPWiIDldLq/CUpPFEnD
+AqUhTYBXbHZNZJHAEJ0waJqLxmytt19mAv03aaIMYUpBR0CMvjfDNn5x2Bp86v3A
+YW544bNsyHfbvK0ZqwvOaV3sIKG7Bzm2pOA=
-----END CERTIFICATE-----
diff --git a/recipes-connectivity/kuksa-val/kuksa-certificates-agl/genCertsAGL.sh b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/genCertsAGL.sh
new file mode 100755
index 000000000..b078fd1b2
--- /dev/null
+++ b/recipes-connectivity/kuksa-val/kuksa-certificates-agl/genCertsAGL.sh
@@ -0,0 +1,58 @@
+#!/bin/bash
+
+
+genCAKey() {
+ openssl genrsa -out CA.key 2048
+}
+
+
+genCACert() {
+ openssl req -key CA.key -new -out CA.csr -subj "/C=US/ST=San Francisco/L=California/O=automotivelinux.org/CN=localhost-ca/emailAddress=agl-dev-community@lists.automotivelinux.org"
+ openssl x509 -signkey CA.key -in CA.csr -req -days 3650 -out CA.pem
+}
+
+genKey() {
+ openssl genrsa -out $1.key 2048
+}
+
+genCert() {
+ openssl req -new -key $1.key -out $1.csr -passin pass:"temp" -subj "/C=US/ST=San Francisco/L=California/O=automotivelinux.org/CN=$1/emailAddress=agl-dev-community@lists.automotivelinux.org"
+ openssl x509 -req -in $1.csr -extfile <(printf "subjectAltName=DNS:$1,DNS:localhost,IP:127.0.0.1") -CA CA.pem -CAkey CA.key -CAcreateserial -days 1460 -out $1.pem
+ openssl verify -CAfile CA.pem $1.pem
+}
+
+set -e
+# Check if the CA is available, else make CA certificates
+if [ -f "CA.key" ]; then
+ echo "Existing CA.key will be used"
+else
+ echo "No CA.key found, will generate new key"
+ genCAKey
+ rm -f CA.pem
+ echo ""
+fi
+
+# Check if the CA.pem is available, else generate a new CA.pem
+if [ -f "CA.pem" ]; then
+ echo "CA.pem will not be regenerated"
+else
+ echo "No CA.pem found, will generate new CA.pem"
+ genCACert
+ echo ""
+fi
+
+
+for i in Server Client;
+do
+ if [ -f $i.key ]; then
+ echo "Existing $i.key will be used"
+ else
+ echo "No $i.key found, will generate new key"
+ genKey $i
+ fi
+ echo ""
+ echo "Generating $i.pem"
+ genCert $i
+ echo ""
+done
+