Hi Dirk-Willem,
Something is wrong with your EC key. The error mentions that it can't
get the curve points from the key data. How did you generate the key?
If it helps, here is a working CSR example, using a prime256v1 key for
comparison:
-BEGIN CERTIFICATE REQUEST-
MIIBDjCBtAIBADArMQswC
Below CSR gives me an odd error with the standard openssl REQ command:
openssl req -inform DER -noout -pubkey
Error getting public key
140673482679616:error:10067066:elliptic curve
routines:ec_GFp_simple_oct2point:invalid encoding:../crypto/ec/ecp_oct.c:312:
1406
Suggestion: get the source for the exact same version of openssl your
system uses, and rebuild it with sslv2 disabled.
e.g.
sudo apt install build-essential devscripts
sudo apt build-dep openssl
mkdir tmp
cd tmp
apt source openssl
cd openssl-*
gedit debian/rules # see below
debuild -b -uc -us
On Thursday, 6 August 2020 21:24:32 CEST, Patrick Mooc wrote:
Thank you Ben for your answer.
I had a look today for this point, but I didin't found anything
about extension in the OpenSSL version I use (0.9.8).
Maybe I have to modify OpenSSL configuration file
(openssl.conf) and compile Open