Bezüglich Ihrer leeren Owncloud-Seite:

Bezüglich Ihrer leeren Owncloud-Seite:

Ich verwende Ubuntu 20.04 und habe gerade die neueste Version von owncloud auf meiner Lamp-Installation installiert, die sich unter befindet/var/www/html/owncloud/

Problem:owncloud stellt eine leere weiße Seite bereit unterhttps://someothersite.org/

nützliche Info:Ich habe bereits mehrere WordPress-Installationen mit dem OpenSSL-Zertifikat, das auf /var/www/html/ auf Port 443 verweist

AKTUALISIEREN Ich habe mein SSL getestet, indem ich phpmyinfo.php zum Verzeichnis /var/www/html/owncloud/ hinzugefügt habe und erfolgreich die URL erreicht habehttps://someothersite.org/phpmyinfo.phpDie SSL-Warnungen führen also nicht dazu, dass SSL Dateien im Verzeichnis blockiert. Ich vermute, dass das Problem nicht durch SSL verursacht wird.

In meiner owncloud.confDatei habe ich:

<VirtualHost *:443>

    ServerName someothersite.org 
    ServerAlias www.someothersite.org 
    
    # If this is the default configuration file we can use: 'ServerName localhost' or also 'ServerAlias localhost'.

    ServerAdmin [email protected]

    ErrorLog ${APACHE_LOG_DIR}/someothersite.org.error.log
    CustomLog ${APACHE_LOG_DIR}/someothersite.org.access.log combined

    DocumentRoot /var/www/html/owncloud/
    
    <Directory /var/www/html/owncloud>
        Options None FollowSymLinks
        # Enable .htaccess Overrides:
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
    </Directory>
    
    #My Edit
    SSLEngine on
   SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
   SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
   
 

</VirtualHost>

In meiner /etc/hostsDatei habe ich:

127.0.0.1   localhost 
127.0.0.1   someothersite.org

In meinem someothersite.org.error.log habe ich den folgenden Fehler:

[ssl:warn] [pid 32824] AH01906: someothersite.org:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[ssl:warn] [pid 32824] AH01909: someothersite.org:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 32824] AH01906: someothersite.org:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[ssl:warn] [pid 32824] AH01909: someothersite.org:443:0 server certificate does NOT include an ID which matches the server name

Irgendwelche Tipps?

Antwort1

Bezüglich Ihrer leeren Owncloud-Seite:

Es scheint, dass Ihre Owncloud einige Fehler produziert. Diese Fehler aus der Owncloud werden von Owncloud selbst behandelt. Ich habe einen Blick in die Owncloud-Dokumentation geworfen:https://doc.owncloud.com/server/admin_manual/troubleshooting/providing_logs_and_config_files.html. Die Owncloud-Logdatei befindet sich data/owncloud.login deinem Fall hier:/var/www/html/owncloud/data/owncloud.log

Bezüglich Ihrer SSL-Warnungen:

Es scheint, dass Sie ein CA-Zertifikat anstelle eines Serverzertifikats erstellt haben. Dieses Thema wurde hier bereits diskutiert:https://stackoverflow.com/questions/36138517/apache-warns-that-my-self-signed-certificate-is-a-ca-certificate

verwandte Informationen