[issue26254] ssl server doesn't work with ECC certificates

2016-01-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: ECC certs using named curves have to have the OPENSSL_EC_NAMED_CURVE flag set. Pass -pkeyopt ec_param_enc:named_curve to the openssl req. -- nosy: +benjamin.peterson resolution: -> not a bug status: open -> closed

[issue26254] ssl server doesn't work with ECC certificates

2016-01-31 Thread Evgeny Kapun
New submission from Evgeny Kapun: I tried to use ssl module to create a server with a certificate that uses an ECC key. However, this didn't work. Here is how to reproduce this: First, generate a key and a certificate: $ openssl req -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -x509