#49670 PEM files extracted with slapd_extract_cert may have too long names
Closed: wontfix by spichugi. Opened by mhonek.

Issue Description

Certificate Subject is used for a file name of the extracted PEM certificate. If the certificate subject is long enough, it leads to the following error:

ERR - slapd_extract_key - Unable to open "very-long-filename-made-of-cert-subject-...-.pem" for writing (-5951, 36).

... which in NSPR speak is PR_NAME_TOO_LONG_ERROR. We should probably instead use only a constant length Subject hash.

Package Version and Platform

All since 389-ds-base-1.3.5.2.


Metadata Update from @mreynolds:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue set to the milestone: 1.4.0

Metadata Update from @vashirov:
- Issue assigned to mhonek
- Issue priority set to: normal
- Issue set to the milestone: 1.4.3 (was: 1.4.0)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2729

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

Metadata