This commit is contained in:
Florian Hoss 2022-05-30 21:08:57 +02:00
parent 87efb6dbf4
commit 30ff38bce4
6 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFqjCCA5ICCQC4ZjFvJJt4bzANBgkqhkiG9w0BAQsFADCBljELMAkGA1UEBhMC
REUxCzAJBgNVBAgMAkJXMRIwEAYDVQQHDAlFc3NsaW5nZW4xFTATBgNVBAoMDEhT
LUVzc2xpbmdlbjEcMBoGA1UECwwTSW5mb3JtYXRpb25zdGVjaG5pazEQMA4GA1UE
AwwHcG9ueS1jYTEfMB0GCSqGSIb3DQEJARYQYWRtaW5AcG9ueS1jYS5kZTAeFw0y
MjA1MzAxOTAxNDdaFw0zMjA1MjcxOTAxNDdaMIGWMQswCQYDVQQGEwJERTELMAkG
A1UECAwCQlcxEjAQBgNVBAcMCUVzc2xpbmdlbjEVMBMGA1UECgwMSFMtRXNzbGlu
Z2VuMRwwGgYDVQQLDBNJbmZvcm1hdGlvbnN0ZWNobmlrMRAwDgYDVQQDDAdwb255
LWNhMR8wHQYJKoZIhvcNAQkBFhBhZG1pbkBwb255LWNhLmRlMIICIjANBgkqhkiG
9w0BAQEFAAOCAg8AMIICCgKCAgEAyMW78kaqbBVcs0MYBjJ8FK+OUegz9UwoMGLI
56Nglq9I1VRLaAGlX9JzAH+rVUV/RSqnO1fsBIcavEx4mp/y2bZPQGjrS0qEIxEx
FuV8mxc7l0W6BLsR13GlIp0yMobicCv0FZekcwaeWmuQh1q7mwgJTP/NklvyFBUQ
KWiGjh2lDkG3OMmidJuYH+40eGzMU8DAzX5N08sP3Gt3Q8CvHRZIqDbu1UbbohUx
+CYfp0oNMpMEuESEwLq9UlT5ybq/fLV1i7enVruuMw4D0wdV6pEHLlu/ZEpruIZU
rIVx4aNMRq2WA2+47uwZlXjTLDctavilQfBARiu4M9VGtiLQs7jcL0DCPCCdN9EN
CyYgKo70EZ9je5OvTBN7gxRJm0VtQ5pfw3D6t7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9QCVxxt0UCxbot2Ojl3mxyaCOucrSVxBpYls
tPL9s/OVm2L6/20+MO4XC03dykRGjO+973YFH182boHt9w6q9IVpYIrsfitlKscP
b/MKV22R6QiJUlqKQ0Q0r2iUHQ==
-----END ENCRYPTED PRIVATE KEY-----

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

View file

@ -114,6 +114,7 @@
\include{part3/part3}
\include{part4/part4}
\include{part5/part5}
\include{part6/part6}
\printbibliography[title=Literaturverzeichnis]

View file

@ -0,0 +1,32 @@
\section{Part 6: Certificate Authority}
\subsection{Erstellen der keys}
\begin{verbatim}
openssl req -config /etc/ssl/openssl.cnf -newkey rsa:4096 -days 3650 -x509 -out
myroot.cer -keyout myroot.key
\end{verbatim}
\begin{verbatim}
PEM pass phrase: Florian
Input: DE, BW, Esslingen, HS-Esslingen, Informationstechnik,
pony-ca, admin@pony-ca.de
\end{verbatim}
\subsection{Die Keys untersuchen}
\begin{figure}[H]
\begin{center}
\includegraphics[width=0.7\textwidth]{part6/private}
\caption{Private Key}
\label{fig:Private Key}
\end{center}
\end{figure}
\begin{figure}[H]
\begin{center}
\includegraphics[width=0.7\textwidth]{part6/public}
\caption{Public Key}
\label{fig:Public Key}
\end{center}
\end{figure}