Skip to content

excessive log warnings during certificate extraction #6340

@Firstyear

Description

@Firstyear

Issue Description
A customer noticed repeated bursts of warnings from check_private_certdir() during operation of a 389-ds container. This occurs because in the container, tmp is not a system private mount, causing the check to return NULL.

While this itself isn't a problem since there is a valid fallback to certdir as the extraction path, the excesive log noise indicates that we are calling https://github.com/389ds/389-ds-base/blob/main/ldap/servers/slapd/ssl.c#L2201 in a loop, when certdir should be defined once at the time of extraction.

Realistically we should be extracting setting the cert/key paths during extraction https://github.com/389ds/389-ds-base/blob/main/ldap/servers/slapd/ssl.c#L2505 rather than calculating it each time we perform the loop of ssl client auth.

Package Version and Platform:

  • SUSE 15 SP5

https://bugzilla.suse.com/show_bug.cgi?id=1230852

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThe issue will be triaged during scrum

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions