Content-Type: multipart/alternative; boundary="------------23k7D0fd9jfXvwEDKIOvHjS0" Message-ID: <68a68aa4-0c57-655c-e0c9-ff9f1e0bf040@...1227...> Date: Fri, 29 Sep 2023 02:55:41 +0200 MIME-Version: 1.0 References: <850037b2-36d0-4240-8c73-04dab1a90777@...1800...> From: Arne Schwabe In-Reply-To: <850037b2-36d0-4240-8c73-04dab1a90777@...1800...> Subject: Re: [Openvpn-devel] pkcs11 config changes from 2.5.4 to 2.6.6 ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mike tancsa , Selva Nair Cc: openvpn-devel This is a multi-part message in MIME format. --------------23k7D0fd9jfXvwEDKIOvHjS0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Am 29.09.2023 um 01:08 schrieb mike tancsa: > > Hi Selva, > >     Thank you for looking! > > >> My guess is that something in the certificate or private key is not to >> OpenSSL 3.1's liking and it rejects it. Is there any way for you to >> check the >> contents of the token independently using a tool linked against >> OpenSSL 3.1 ? >> > What am I looking for in that case ?  Taking a look at the cert just > with openssl 3.0 on FreeBSD releng14 it seems ok with it. Same with > the Windows version 3.1.x that comes with OpenVPN. Is it possible it > doesnt like the sha1RSA sig ? > > OpenSSL 3.0 has security 1 by default (OpenSSL 3.1 has 2 by default)  and that does not allow SHA1 signatures anymore. See https://www.openssl.org/docs/man3.1/man3/SSL_CTX_set_security_level.html Arne --------------23k7D0fd9jfXvwEDKIOvHjS0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit


Am 29.09.2023 um 01:08 schrieb mike tancsa:

Hi Selva,

    Thank you for looking!


My guess is that something in the certificate or private key is not to
OpenSSL 3.1's liking and it rejects it. Is there any way for you to check the
contents of the token independently using a tool linked against OpenSSL 3.1 ?

What am I looking for in that case ?  Taking a look at the cert just with openssl 3.0 on FreeBSD releng14 it seems ok with it. Same with the Windows version 3.1.x that comes with OpenVPN. Is it possible it doesnt like the sha1RSA sig ?


OpenSSL 3.0 has security 1 by default (OpenSSL 3.1 has 2 by default)  and that does not allow SHA1 signatures anymore. See https://www.openssl.org/docs/man3.1/man3/SSL_CTX_set_security_level.html


Arne

--------------23k7D0fd9jfXvwEDKIOvHjS0--