Initial commit
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
7
5g-uulm-network-monitoring/buildx/buildkitd.toml
Normal file
7
5g-uulm-network-monitoring/buildx/buildkitd.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[registry."192.168.100.2:5000"]
|
||||
http = true
|
||||
insecure = true
|
||||
ca = ["certs/192.168.100.2:5000/ca.crt"]
|
||||
[[registry."192.168.100.2:5000".keypair]]
|
||||
key = "certs/192.168.100.2:5000/client.key"
|
||||
cert = "certs/192.168.100.2:5000/client.cert"
|
||||
3
5g-uulm-network-monitoring/buildx/create_builder.sh
Executable file
3
5g-uulm-network-monitoring/buildx/create_builder.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker buildx create --name iana --platform linux/amd64,linux/arm64 --bootstrap --config ./buildkitd.toml --use
|
||||
18
5g-uulm-network-monitoring/buildx/setup.sh
Executable file
18
5g-uulm-network-monitoring/buildx/setup.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Nokia
|
||||
#IANA_REGISTRY=192.168.100.2:5000
|
||||
# TS
|
||||
IANA_REGISTRY=192.168.100.2:5000
|
||||
|
||||
mkdir -p certs/"$IANA_REGISTRY"
|
||||
|
||||
(
|
||||
cd certs/"$IANA_REGISTRY" || exit 1
|
||||
|
||||
openssl s_client -showcerts -connect "$IANA_REGISTRY" </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >ca.crt
|
||||
|
||||
openssl genrsa -out client.key 4096
|
||||
openssl req -new -x509 -text -key client.key -out client.cert \
|
||||
-subj "/C=DE/ST=Northrhine Westphalia/L=Essen/O=University Duisburg-Essen/emailAddress=tuan-dat.tran@stud.uni-due.de"
|
||||
)
|
||||
Reference in New Issue
Block a user