From owner-freebsd-net@freebsd.org Mon Sep 24 16:00:56 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C30DB10B0887 for ; Mon, 24 Sep 2018 16:00:56 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc:5400:1ff:feaf:6afb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B89386CAF for ; Mon, 24 Sep 2018 16:00:56 +0000 (UTC) (envelope-from vas@admin.sibptus.ru) Received: from vas by admin.sibptus.ru with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g4TI5-0003GF-Ow for freebsd-net@freebsd.org; Mon, 24 Sep 2018 23:00:53 +0700 Date: Mon, 24 Sep 2018 23:00:53 +0700 From: Victor Sudakov To: freebsd-net@freebsd.org Subject: setting SSLKEYLOGFILE (for HTTPS decryption) does not work Message-ID: <20180924160053.GA12148@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Victor Sudakov X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 16:00:56 -0000 Dear Colleagues, I have noticed that "env SSLKEYLOGFILE=/var/tmp/keylog.txt firefox" does not create /var/tmp/keylog.txt on FreeBSD. On Windows, this environment variable works as expected (creates a dump file with SSL keys to be fed to Wireshark for HTTPS decryption). What am I doing wrong? I've tried this on FreeBSD 11.2 with 62.0 from the FreeBSD default package repository. This is a rather standard recipe, it's odd that it does not work on FreeBSD. Any help is appreciated. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/