This commit is contained in:
Thomas Kruse
2026-02-03 22:29:46 +01:00
commit 8fdf5827e4
156 changed files with 23069 additions and 0 deletions

2
03-security/lab03/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
ca.crt
ca.key

13
03-security/lab03/lab.txt Normal file
View File

@ -0,0 +1,13 @@
= Self signed Zertifikat
Verwendung von OpenSSL um ein neues Zertifikat zu erstellen
$ openssl req -new -x509 -newkey rsa:2048 -days 365 \
-addext 'subjectAltName=DNS:mqtt.example.com,IP:127.0.0.1' \
-subj "/CN=example.com" \
-nodes -keyout ca.key -out ca.crt
Validieren Sie das Zertifikat mit OpenSSL
$ openssl verify -CAfile ca.crt ca.crt