Re: Path puzzle

From: Michael Stiller <mstiller_at_me.com>
Date: Fri, 06 Sep 2024 06:02:36 UTC
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 <fbsd@www.zefox.net> 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 <fbsd@www.zefox.net> 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 <steve@sohara.org>