빈 Owncloud 페이지와 관련하여:

빈 Owncloud 페이지와 관련하여:

저는 Ubuntu 20.04를 사용하고 있으며 다음 위치에 있는 램프 설치에 최신 버전의 owncloud를 설치했습니다./var/www/html/owncloud/

문제:owncloud는 다음에서 빈 흰색 페이지를 제공합니다.https://someothersite.org/

유용한 정보:포트 443에서 /var/www/html/을 가리키는 OpenSSL 인증서를 사용하여 이미 여러 개의 WordPress를 설치했습니다.

업데이트 /var/www/html/owncloud/ 디렉토리에 phpmyinfo.php를 추가하여 SSL을 테스트했고 성공적으로 URL에 도달했습니다.https://someothersite.org/phpmyinfo.php따라서 SSL 경고로 인해 SSL이 디렉터리의 파일을 차단하지 않습니다. SSL로 인해 문제가 발생하지 않은 것 같습니다.

owncloud.conf파일에는 다음이 있습니다.

<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>

/etc/hosts파일에는 다음이 있습니다.

127.0.0.1   localhost 
127.0.0.1   someothersite.org

내 someothersite.org.error.log에 다음 오류가 있습니다.

[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

어떤 팁이 있나요?

답변1

빈 Owncloud 페이지와 관련하여:

Owncloud에서 오류가 발생하는 것 같습니다. Owncloud의 오류는 Owncloud 자체에서 처리됩니다. Owncloud 문서를 살펴보았습니다.https://doc.owncloud.com/server/admin_manual/troubleshooting/providing_logs_and_config_files.html. data/owncloud.log귀하의 경우 Owncloud 로그 파일은 다음 위치에 있어야 합니다./var/www/html/owncloud/data/owncloud.log

SSL 경고 관련:

서버 인증서 대신 CA 인증서를 생성하신 것 같습니다. 이 주제는 이미 여기에서 논의되었습니다:https://stackoverflow.com/questions/36138517/apache-warns-that-my-self-signed-certificate-is-a-ca-certificate

관련 정보