From nobody Sat Sep 07 01:31:59 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0wYt6Rdxz5WQyZ for ; Sat, 07 Sep 2024 01:32:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "generic", Issuer "generic" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0wYt2ly6z4gNx for ; Sat, 7 Sep 2024 01:32:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.17.1) with ESMTPS id 4871W040035131 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 6 Sep 2024 18:32:00 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.17.1/Submit) id 4871W0kG035130; Fri, 6 Sep 2024 18:32:00 -0700 (PDT) (envelope-from fbsd) Date: Fri, 6 Sep 2024 18:31:59 -0700 From: bob prohaska To: Michael Stiller Cc: "Steve O'Hara-Smith" , freebsd-arm@freebsd.org, bob prohaska Subject: Re: Path puzzle Message-ID: References: <105EB88C-1438-4BC6-9561-A92B82743AA2@me.com> <20240905194723.aadc33be10a168e8c7d0c455@sohara.org> <5D6E0261-247D-411F-88D0-F14814ACA4C2@me.com> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5D6E0261-247D-411F-88D0-F14814ACA4C2@me.com> X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Queue-Id: 4X0wYt2ly6z4gNx Hi Michael, Apparently I got confused and didn't correctly enter the arguments to the server_try and client_try scripts, then mistook the error messages for python errors rather than the operator errors they really indicated. 8-( Thanks very much for your patience and help! bob prohaska On Fri, Sep 06, 2024 at 08:02:36AM +0200, Michael Stiller wrote: > Hi Bob, > > the code from that repo just runs unmodified (except the #! line) > > on FreeBSD pi4 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 RPI4 arm64 > > You just need to call it correctly with certificates like this: > > ms@pi4:~ % ./server_try ca.crt cert.crt cert.key > > So you need a certificate of the CA + a server cert and key. > > Best regards, > > Michael > > > > On 6. Sep 2024, at 03:26, bob prohaska wrote: > > > > On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote: > >> On Thu, 5 Sep 2024 11:37:06 -0700 > >> bob prohaska wrote: > >> > >>> bob@pelorus:~ % head server_try > >>> #!/usr/bin/python3.11 > >> > >> Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin. > >> > >> This is why the recommended shebang for python code is > >> > >> #!/usr/bin/env python3.11 > >> > >> Which is portable. > > Thank you....never crossed my mind to check the executable location 8-( > > > > It turns out that the python code being run (from > > https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but > > not on FreeBSD stable/14.1. Is there a guide to differences between the > > dialects? > > > > Apologies for the noise..... > > > > bob prohaska > > > > > >> > >> -- > >> Steve O'Hara-Smith > >