From nobody Fri Sep 06 06:02:36 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 4X0QdF0wV3z5W2ww for ; Fri, 06 Sep 2024 06:03:13 +0000 (UTC) (envelope-from mstiller@me.com) Received: from mr85p00im-ztdg06011801.me.com (mr85p00im-ztdg06011801.me.com [17.58.23.199]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0QdD5pwBz46Wg for ; Fri, 6 Sep 2024 06:03:12 +0000 (UTC) (envelope-from mstiller@me.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1725602591; bh=NOFWtgMKO0QifrzxRNbGWZh4aDODeKDGH2C8kcbncjA=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=0OmWSV1Arz25UByI3xF800lRzJovs1eoLZfRjatqvNCi+an5i0t/tiOcvI83GJogc F6zOQxjCbwh4qRIvcUjRiGSbImTLGcVx64SlW0YBwCLrgTGvz90ZQvqN6X5uii4k2R UpvAi0Kvg15XAQwCK2QKgSVnt+tiuBZkSD30cwkwEj8YkcEZRzXvJWs2XYOCC4lDdA IqZSTZgXZVnY2ThA95tgfO2kZ7Mw/N2w67sZwp2Wl01bsIG//2Umt1Kopj34y2CNv3 GdFaVxeedJo6b6FSKyztSkbGCrvoNoDjfNQLj1qu4va4MnVGc9Rkig9EO1jfAzh30z ED747B4U/A8xQ== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011801.me.com (Postfix) with ESMTPSA id 9B60B20B0739; Fri, 6 Sep 2024 06:03:09 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Path puzzle From: Michael Stiller In-Reply-To: Date: Fri, 6 Sep 2024 08:02:36 +0200 Cc: Steve O'Hara-Smith , freebsd-arm@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <5D6E0261-247D-411F-88D0-F14814ACA4C2@me.com> References: <105EB88C-1438-4BC6-9561-A92B82743AA2@me.com> <20240905194723.aadc33be10a168e8c7d0c455@sohara.org> To: bob prohaska X-Mailer: Apple Mail (2.3776.700.51) X-Proofpoint-ORIG-GUID: rdv6WKJBjX5zNbf45lOeThV2XAVmcQG7 X-Proofpoint-GUID: rdv6WKJBjX5zNbf45lOeThV2XAVmcQG7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-05_17,2024-09-05_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxlogscore=733 clxscore=1011 adultscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2409060043 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:714, ipnet:17.58.16.0/20, country:US] X-Rspamd-Queue-Id: 4X0QdD5pwBz46Wg 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