jmix-docs icon indicating copy to clipboard operation
jmix-docs copied to clipboard

Update WebDAV Configuration

Open SergeiAksenov2 opened this issue 8 months ago • 1 comments

Please update WebDAV Configuration page: https://docs.jmix.io/jmix/webdav/configuration.html

  1. Describe that MS has blocked basic auth, so it doesn't work, and there is an option to use digest authentication

  2. Add a description that it is necessary to update passwords of all users in the project, including admin. May be add link to the propery https://docs.jmix.io/jmix/webdav/webdav-properties.html#jmix.webdav.authentication-method

  3. Update "Generate trusted certificate" https://docs.jmix.io/jmix/webdav/configuration.html#_generate_trusted_certificate

To clarify that to work with WebDAV application from another comp, e.g. VM, when creating a certificate it is necessary to specify IP of the comp where the application is running.

  1. Add more complete application.properties example, like:
# Enables HTTPS
server.ssl.enabled=true
# The format used for the keystore
server.ssl.key-store-type = JKS
# The path to the keystore containing the certificate
server.ssl.key-store = classpath:com/company/webdavfile/keystore/localhost.jks
# The password used to generate the keystore
server.ssl.key-store-password = changeit
# The alias mapped to the certificate
#server.ssl.key-alias = localhost

#jmix.webdav.url-prefix=https://10.5.40.55:8443/webdav
jmix.webdav.url-prefix=https://localhost:8443/webdav

# For MS Office
jmix.webdav.authentication-method = digest

# Changes the server's port
server.port = 8443


Note 1:
server.ssl.key-alias property may very depending on certs generation parameters

Note 2:
"10.5.40.55" - is the IP of the comp where the application is running.
In case of setup for external IP-address certs must be generated including them

which describes: digest auth method and mandatory property jmix.webdav.url-prefix.

SergeiAksenov2 avatar May 22 '25 08:05 SergeiAksenov2

#server.ssl.key-alias = localhost

note must be added that alias name my very depending on certs generation parameters

Note: "10.5.40.55"

also it must be noted that in case of setup for external IP-address certs must be generated including them

syncro avatar May 22 '25 08:05 syncro