The registration of documents is no longer done since I activated HTTPS.
The URL https://xxx.xxx/onlyofficeds/welcome is ok
The SSL certficat is valid and is issued by an authority (not self-signed).
The error below is in /app/onlyoffice/DocumentServer/logs/documentserver/docservice/out.log:
<td>[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (ssl.c:581)
_
_
How to disable certificate verification if this is the solution?
my configuration:
Debian 8
Seafile CE 6.1.1
Onlyoffice via subfolder
Docker version 17.06.2-ce, build cec0b72
nginx version: nginx / 1.13.5
seahub_setting.py:
ENABLE_ONLYOFFICE = True
VERIFY_ONLYOFFICE_CERTIFICATE = False
ONLYOFFICE_APIJS_URL = ‘https://subdomaine.domaine/onlyofficeds/web-apps/apps/api/documents/api.js’
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ngnix seafile.conf:
location /onlyofficeds/ {
# IMPORTANT ! - Trailing slash !
proxy_pass https://127.0.0.1:8443/;
proxy_http_version 1.1;:q
client_max_body_size 100M; # Limit Document size to 100MB
proxy_read_timeout 3600s;
proxy_connect_timeout 3600s;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;
# IMPORTANT ! - Subfolder and NO trailing slash !
proxy_set_header X-Forwarded-Host $the_host/onlyofficeds;
proxy_set_header X-Forwarded-Proto $the_scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
To launch Docker
docker run -i -t -d -p 8443:443 -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice -v /app/onlyoffice/DocumentServer/cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files --name oods onlyoffice/documentserver
docker ps:
1a24761a772e onlyoffice/documentserver “/bin/sh -c 'bash …” About an hour ago Up About an hour 80/tcp, 0.0.0.0:8443->443/tcp oods
Thanks for any help