Stefan Traub wrote:
> Thank for your help. But unfortunately i got an other error.
> I think this problem comes from the fact, that out server certificate is not
> an official certificate.  i definitively can connect via web-dav to our
> server.

That's right. In order for https to work with applications written in
Java, the server certificate must have been signed by an authority
trusted by the Java runtime.


> Is there a way to "install" the server-certificate on my client machine.
> 

Yes, but unfortunately this is not simple because for this, you need to
configure Java, not XXE.

You need to do this using the command-line tool keytool (found in the
Java distribution). What follows is an example of what to do on Unix
(you probably need to do this as root):

---
/# cd $JAVA_HOME/jre/lib/security

/opt/java/jre/lib/security# ls cacerts
cacerts

/opt/java/jre/lib/security# /opt/java/bin/keytool -import \
-alias pixware -file /tmp/pixware.pem \
-keystore cacerts -storepass changeit

/opt/java/jre/lib/security# /opt/java/bin/keytool -list \
-keystore cacerts -storepass changeit
---

In the above session, you need to change "pixware" and
"/tmp/pixware.pem" to your own alias and your own server certificate
file. But note that the password of the Java keystore "cacerts" is
really "changeit".


---
PS: Note that in the second screen shot you sent me, the error message
does not look like a certificate problem. Are you sure, you don't need
to specify something like: "https://fs.hs-uml.de/repository/";?

The fact that your Web browser can open "https://fs.hs-uml.de/"; does not
mean that "https://fs.hs-uml.de/"; is WebDAV enabled. That is, HTTP GET
"https://fs.hs-uml.de/"; works, but not DAV PROPFIND.

Reply via email to