Index | Thread | Search

From:
"Jag Talon" <jag@aangat.lahat.computer>
Subject:
Re: [update] www/mycorrhiza: add cert symlink instructions
To:
"la-ninpre" <aaoth@aaoth.xyz>, <ports@openbsd.org>
Date:
Tue, 27 Feb 2024 09:14:59 -0500

Download raw body.

Thread
On Mon Feb 26, 2024 at 11:14 PM EST, la-ninpre wrote:
> On 26 February 2024 22:45:18 UTC, Jag Talon <jag@aangat.lahat.computer> wrote:
> > Bumping REVISION as well.
> >  
>
> Hello,
> thank you for suggesting this change, I haven't noticed this before, because in testing environment i wasn't using ssl and in 'production'  I already had this symlink. The patch is fine by me, but i'm thinking that maybe it would be better to unify the two patches. What do you think?

Thank you I'm glad you like the changes. I have the unified diff attached!

ok?


-- 
Jag Talon (he/him)

https://jagtalon.net/
https://weirder.earth/@jag

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mycorrhiza/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile	12 Apr 2023 09:32:11 -0000	1.4
+++ Makefile	27 Feb 2024 14:04:07 -0000
@@ -2,6 +2,7 @@ COMMENT =	plain-text driven engine for p
 
 MODGO_MODNAME =	github.com/bouncepaw/mycorrhiza
 MODGO_VERSION =	v1.14.0
+REVISION =	0
 
 DISTNAME =	mycorrhiza-${MODGO_VERSION}
 
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/mycorrhiza/pkg/README,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 README
--- pkg/README	8 Sep 2022 13:35:47 -0000	1.1.1.1
+++ pkg/README	27 Feb 2024 14:04:07 -0000
@@ -58,6 +58,11 @@ acme-client(1)) and start httpd(8) and r
 	# rcctl enable httpd relayd
 	# rcctl start httpd relayd
 
+If you already have a certificate following the acme-client.conf
+default template, make sure to create the following symlink to prevent
+SEC_ERROR_UNKNOWN_ISSUER issues on some browsers:
+ 
+# ln -s /etc/ssl/example.com.fullchain.pem /etc/ssl/example.com.crt
 
 Setup
 =====