Hi ports@,

The News app in Nextcloud throws an error message about the server
certificate when you try to subscribe to a feed with https. The reason
is the missing list of trusted CAs in the chroot(2). The following patch
describes the solution for this.

Cheers,
Bruno


Index: www/nextcloud/pkg/README
===================================================================
RCS file: /cvs/ports/www/nextcloud/pkg/README,v
retrieving revision 1.3
diff -u -p -r1.3 README
--- www/nextcloud/pkg/README    9 Feb 2018 10:04:53 -0000       1.3
+++ www/nextcloud/pkg/README    1 Jun 2018 10:47:40 -0000
@@ -26,6 +26,12 @@ run the following as root:
     # cp /usr/share/locale/UTF-8/LC_CTYPE \
         ${PREFIX}/usr/share/locale/UTF-8/
 
+TLS connections to other systems fail because the list of trusted CAs is
+missing inside the ${PREFIX} chroot. To solve this problem, run the
+following as root:
+       # mkdir -p ${PREFIX}/etc/ssl/
+       # cp /etc/ssl/cert.pem ${PREFIX}/etc/ssl/
+
 OpenBSD HTTP daemon
 -------------------
 httpd(8) example configuration for nextcloud is stored under:

Reply via email to