|
87.
|
|
|
sudo a2enmod ssl
|
|
|
|
sudo a2enmod ssl
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:577(command)
|
|
88.
|
|
|
There is a default HTTPS configuration file in <filename>/etc/apache2/sites-available/default-ssl.conf</filename>. In order for <application>Apache2</application> to provide HTTPS, a <emphasis>certificate</emphasis> and <emphasis>key</emphasis> file are also needed. The default HTTPS configuration will use a certificate and key generated by the <application>ssl-cert</application> package. They are good for testing, but the auto-generated certificate and key should be replaced by a certificate specific to the site or server. For information on generating a key and obtaining a certificate see <xref linkend="certificates-and-security"/>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:580(para)
|
|
89.
|
|
|
To configure <application>Apache2</application> for HTTPS, enter the following:
|
|
|
|
Um <application>Apache2</application> für HTTPS zu konfigurieren, geben Sie folgendes ein:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:590(para)
|
|
90.
|
|
|
sudo a2ensite default-ssl
|
|
|
|
sudo a2ensite default-ssl
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:595(command)
|
|
91.
|
|
|
The directories <filename>/etc/ssl/certs</filename> and <filename>/etc/ssl/private</filename> are the default locations. If you install the certificate and key in another directory make sure to change <emphasis>SSLCertificateFile</emphasis> and <emphasis>SSLCertificateKeyFile</emphasis> appropriately.
|
|
|
|
Die Ordner <filename>/etc/ssl/certs</filename> und <filename>/etc/ssl/private</filename> sind die Vorgabeorte. Wenn Sie das Zertifikat und den Schlüssel in andere Ordner installieren, stellen Sie sicher, <emphasis>SSLCertificateFile</emphasis> und <emphasis>SSLCertificateKeyFile</emphasis> entsprechend anzupassen.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:599(para)
|
|
92.
|
|
|
With Apache2 now configured for HTTPS, restart the service to enable the new settings:
|
|
|
|
Nachdem nun Apache2 für HTTPS konfiguriert wurde, starten Sie den Dienst neu, um die neuen Einstellungen zu aktivieren:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:606(para)
|
|
93.
|
|
|
Depending on how you obtained your certificate you may need to enter a passphrase when <application>Apache2</application> starts.
|
|
|
|
Abhängig davon, wie Sie Ihr Zertifikat bezogen haben, müssen Sie evtl. ein Passwort eingeben, wenn <application>Apache2</application> startet.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:617(para)
|
|
94.
|
|
|
You can access the secure server pages by typing https://your_hostname/url/ in your browser address bar.
|
|
|
|
Sie können die geschützten Serverseiten erreichen, indem Sie https://ihr_hostname/url/ in die Adresszeile Ihres Browsers eingeben.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:623(para)
|
|
95.
|
|
|
Sharing Write Permission
|
|
|
|
Schreibrechte teilen
|
|
Translated and reviewed by
Hendrik Schrieber
|
|
|
|
Located in
serverguide/C/web-servers.xml:630(title)
|
|
96.
|
|
|
For more than one user to be able to write to the same directory it will be necessary to grant write permission to a group they share in common. The following example grants shared write permission to <filename>/var/www/html</filename> to the group "webmasters".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:631(para)
|