Add note about how to refresh CRL
This commit is contained in:
parent
3af17b7a66
commit
a122173b63
@ -241,10 +241,19 @@ Nun wird OpenVPN installiert und konfiguriert.
|
|||||||
# apt-get install openvpn
|
# apt-get install openvpn
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
Zertifikate beantragen und
|
|
||||||
|
|
||||||
|
Zertifikate beantragen und
|
||||||
Konfiguration einspielen
|
Konfiguration einspielen
|
||||||
|
|
||||||
|
CRL beschaffen
|
||||||
|
curl http://vmvpnca.inform.hs-hannover.de/crl.pem > /etc/openvpn/vpnserver/crl.pem
|
||||||
|
|
||||||
|
Cronjob via \texttt{crontab -e} erzeugen:
|
||||||
|
\begin{lstlisting}
|
||||||
|
15 2 * * * bash -c 'curl http://vmvpnca.inform.hs-hannover.de/crl.pem > /etc/openvpn/vpnserver/crl.pem; systemctl restart openvpn@vpnserver.service'
|
||||||
|
\end{lstlisting}
|
||||||
|
Ein reload ist aufgrund der Abgabe von Berechtigungen nach dem Start nicht möglich.
|
||||||
|
|
||||||
Nun wird der OpenVPN-Dienst aktiviert und gestartet.
|
Nun wird der OpenVPN-Dienst aktiviert und gestartet.
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
# systemctl enable openvpn@vpnserver.service
|
# systemctl enable openvpn@vpnserver.service
|
||||||
|
@ -12,6 +12,9 @@ cert /etc/openvpn/vpnserver/aither.inform.hs-hannover.de.crt
|
|||||||
key /etc/openvpn/vpnserver/aither.inform.hs-hannover.de.key
|
key /etc/openvpn/vpnserver/aither.inform.hs-hannover.de.key
|
||||||
dh /etc/openvpn/vpnserver/dh.pem
|
dh /etc/openvpn/vpnserver/dh.pem
|
||||||
|
|
||||||
|
# Certificate revocation list
|
||||||
|
crl-verify /etc/openvpn/vpnserver/crl.pem
|
||||||
|
|
||||||
# Make sure the client presents a certificate with "client role"
|
# Make sure the client presents a certificate with "client role"
|
||||||
remote-cert-tls client
|
remote-cert-tls client
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user