mar10 / wsgidav

A generic and extendable WebDAV server based on WSGI

Home Page:https://wsgidav.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to use SSL

Dominiquini opened this issue · comments

Describe the bug
I can't enable SSL in this last version! The previous version was working fine!

To Reproduce
Steps to reproduce the behavior:

  1. Edit the config file to enable SSL (ssl_certificate, ssl_private_key, ssl_certificate_chain and ssl_adapter)
  2. Execute on terminal "wsgidav.exe -c wsgidav.yaml"
  3. See error

Expected behavior
The application should start

Screenshots, Log-Files, Stacktrace

fix_path(./bogo_server.crt) => C:\Program Files (x86)\WsgiDAV\bogo_server.crt
fix_path(./bogo_server.key) => C:\Program Files (x86)\WsgiDAV\bogo_server.key
fix_path(./This PC/) => C:\Program Files (x86)\WsgiDAV\This PC
03:06:41.895 - WARNING : App wsgidav.mw.cors.Cors(None).is_disabled() returned True: skipping.
03:06:42.078 - INFO    : WsgiDAV/4.0.0 Python/3.9.9 Windows-10-10.0.19044
03:06:42.078 - INFO    : Lock manager:      LockManager(LockStorageDict)
03:06:42.078 - INFO    : Property manager:  None
03:06:42.078 - INFO    : Domain controller: SimpleDomainController()
03:06:42.079 - INFO    : Registered DAV providers by route:
03:06:42.079 - INFO    :   - '/:dir_browser': FilesystemProvider for path 'C:\Program Files (x86)\WsgiDAV\lib\wsgidav\dir_browser\htdocs' (Read-Only) (anonymous)
03:06:42.079 - INFO    :   - '/c': FilesystemProvider for path 'C:\' (Read-Write)
03:06:42.079 - INFO    :   - '/d': FilesystemProvider for path 'D:\' (Read-Write)
03:06:42.079 - INFO    :   - '/e': FilesystemProvider for path 'E:\' (Read-Write)
03:06:42.079 - INFO    :   - '/f': FilesystemProvider for path 'F:\' (Read-Write)
03:06:42.079 - INFO    :   - '/': FilesystemProvider for path 'C:\Program Files (x86)\WsgiDAV\This PC' (Read-Write)
03:06:42.079 - WARNING : Share '/:dir_browser' will allow anonymous read access.
fix_path(./bogo_server.crt) => C:\Program Files (x86)\WsgiDAV\bogo_server.crt
fix_path(./bogo_server.key) => C:\Program Files (x86)\WsgiDAV\bogo_server.key
Traceback (most recent call last):
  File "C:\Users\marti\.virtualenvs\wsgidav-cVfCLppo\lib\site-packages\cheroot\server.py", line 2126, in get_ssl_adapter_class
KeyError: 'cheroot.ssl.builtin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\marti\.virtualenvs\wsgidav-cVfCLppo\Lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 113, in run
  File "C:\Users\marti\.virtualenvs\wsgidav-cVfCLppo\Lib\site-packages\cx_Freeze\initscripts\Console.py", line 15, in run
  File "wsgidav\server\server_cli.py", line 837, in <module>
  File "wsgidav\server\server_cli.py", line 827, in run
  File "wsgidav\server\server_cli.py", line 448, in _run_cheroot
  File "C:\Users\marti\.virtualenvs\wsgidav-cVfCLppo\lib\site-packages\cheroot\server.py", line 2131, in get_ssl_adapter_class
ModuleNotFoundError: No module named 'cheroot.ssl'

No log is produced!

Environment:

OS: Windows 10 x64

WsgiDAV/4.0.0 Python/3.9.9(64 bit) Windows-10-10.0.19044
Python from: C:\Program Files (x86)\WsgiDAV\wsgidav.exe

Which WSGI server was used (cheroot)?

Which WebDAV client was used (NONE - The application does't start!)?

Additional context

wsgidav.yaml.txt

Thanks.