% master: erstellen_eines_ssl-zertifikats.tex
% Erstellen eines SSL-Zertifikats v0.1
% 2011-06-01 (Rx)

\subsection{Erstellen eines SSL-Zertifikats}
%-------------------------------------------

\begin{verbatim}
openssl req -new > firma.csr
openssl rsa -in privkey.pem -out firma.key
openssl x509 -in firma.csr -out firma.crt -req -signkey firma.key -days 10000
cp firma.key /etc/httpd/ssl.key/server.key
cp firma.crt /etc/httpd/ssl.crt/server.crt
cp firma.csr /etc/httpd/ssl.csr/server.csr
chown root privkey.pem
chmod 400 privkey.pem
\end{verbatim}

