Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating certs with ECC doesn't work #7

Open
lukebakken opened this issue Oct 19, 2017 · 1 comment
Open

Generating certs with ECC doesn't work #7

lukebakken opened this issue Oct 19, 2017 · 1 comment

Comments

@lukebakken
Copy link
Collaborator

Steps to reproduce:

cd basic
make USE_ECC=true

# in terminal 1
openssl s_server -cert ./server/cert.pem -key ./server/key.pem -CAfile ./testca/cacert.pem

# in terminal 2
openssl s_client -cert ./client/cert.pem -key ./client/key.pem -CAfile ./testca/cacert.pem

Error output:

ACCEPT                                                                                                                                  │    Start Time: 1508449149
ERROR                                                                                                                                   │    Timeout   : 7200 (sec)
139822582923200:error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher:ssl/statem/statem_srvr.c:1404:               │    Verify return code: 0 (ok)
shutting down SSL                                                                                                                       │    Extended master secret: no
CONNECTION CLOSED

If you generate "regular" certs with make the above s_server and s_client commands work fine. I'll continue investigating.

$ openssl version
OpenSSL 1.1.0f  25 May 2017
@michaelklishin
Copy link
Member

I can reproduce with OpenSSL 1.0.2l 25 May 2017.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants