Install default TLS certificate from domainFACTORY

asked 2015-06-08 21:20:03 +0300

irrep gravatar image

updated 2015-06-10 15:22:22 +0300

jiit gravatar image

I have a shared hosting plan with domainFACTORY. You can access the sites with https://, they do not have a certificate that is valid officially. The certificate is make for webserver.ispgateway.de which does not match my domain, of course. I can add the certificate in Firefox and the Firefox-based browser on Sailfish OS. This works.

Now I want to use ownCloud on my shared hosting plan but with TLS. I have checked that it works when I ignore SSL errors, which means that the CalDAV client and server work. The TLS is not working.

So I followed some instructions on this site and others. The problems seems to be in the mismatch of the “certificate subject name”. I tried this with curl https://…/owncloud/ --cacert /etc/pki/tls/certs/….pem and I get:

curl: (51) SSL: certificate subject name 'webserver.ispgateway.de' does not match target host name '…'

The CalDAV client in Sailfish OS tells me that something is wrong with the connection, which is good because this proves that it does certificate validation.

Is there some way to get Sailfish OS to accept this particular certificate regardless of the hostname it was made for? I could buy a TLS certificate from domainFACTORY for 1.99 €/month, but I do not see the point yet, if only I access it.

edit retag flag offensive close delete