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

Test certificates expired (again) #20

Open
mgorny opened this issue Feb 21, 2020 · 4 comments
Open

Test certificates expired (again) #20

mgorny opened this issue Feb 21, 2020 · 4 comments

Comments

@mgorny
Copy link

mgorny commented Feb 21, 2020

$ ./scripts/openssl_https_server.sh
Using default temp DH parameters
ACCEPT
139899582240576:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:ssl/record/rec_layer_s3.c:1543:SSL alert number 48
139899582240576:error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1543:SSL alert number 45
139899582240576:error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1543:SSL alert number 45
139899582240576:error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1543:SSL alert number 45
139899582240576:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:ssl/record/rec_layer_s3.c:1543:SSL alert number 48
139899582240576:error:14094415:SSL routines:ssl3_read_bytes:sslv3 alert certificate expired:ssl/record/rec_layer_s3.c:1543:SSL alert number 45
 $ openssl x509 -in localhost.crt -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 0 (0x0)
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: CN = NDG Test CA, O = NDG, OU = Security
        Validity
            Not Before: Dec 16 01:07:32 2016 GMT
            Not After : Dec 16 01:07:32 2019 GMT
...
@philipkershaw
Copy link
Member

It should be easy to fix but I don't have a lot of time to look at this in the near future. Will happily accept a PR if you or someone else want to update the test certs

@mgorny
Copy link
Author

mgorny commented Feb 21, 2020

Is that even possible without having the CA's private key?

@philipkershaw
Copy link
Member

I was thinking you could create a fresh key pair for the CA but equally I'm happy to add the private key to the repo so that a new CA cert could be generated based on the same key pair. This is all on the understanding that this is a test CA of course!

@philipkershaw
Copy link
Member

New version with updated certs is in devel branch. Will push out new release soon

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