14 lines
351 B
Plaintext
14 lines
351 B
Plaintext
= 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
|