Modify

Ticket #1059 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

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: sol.jerome@…

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 10 years ago by solj

  • Cc sol.jerome@… added

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.

comment:2 Changed 10 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 10 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 10 years ago by solj

  • Status changed from accepted to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.