Modify ↓
Ticket #1059 (closed defect: fixed)
Provide sane error message for missing certificate
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU | Owned by: | solj |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.2.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: | [email protected]… |
Description
Current trunk produces this:
$ sudo bcfg2 -q -v -n Failed to download probes from bcfg2: [Errno 185090050] _ssl.c:328: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
This can be improved to be more user-friendly.
Attachments
Change History
comment:1 Changed 12 years ago by solj
- Cc [email protected]… added
comment:2 Changed 12 years ago by https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU
I've copied bcfg2.conf from server to client as-is. After I setup ca, the error is gone.
comment:3 Changed 12 years ago by solj
- Owner changed from desai to solj
- Status changed from new to accepted
Full error message:
# bcfg2 -vqn Server failure: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib Failed to download probes from bcfg2 [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
Can also be reproduced by adding ca = /foo to bcfg2.conf.
comment:4 Changed 12 years ago by solj
- Status changed from accepted to closed
- Resolution set to fixed
Fixed in 4d87c5c2022c01dc171a276ca1aefde3e3fe43da.
Note: See
TracTickets for help on using
tickets.
Are you seeing a traceback anywhere for this? I can't seem to reproduce that error message. It seems like this is coming straight from openssl.