Bug 1401316

Summary: RFE: For the primitive openssl CA as specified in openssl.cnf: Move all counter files to a directory "counters"
Product: [Fedora] Fedora Reporter: David Tonhofer <bughunt>
Component: opensslAssignee: Tomas Mraz <tmraz>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: tmraz
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-01 15:13:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Tonhofer 2016-12-04 16:48:31 UTC
Description of problem:
=======================

Currently the /etc/pki/CA directory is a bit messy:

We have the directories:

certs
crl
newcerts
private

And the files

index.txt
index.txt.attr
index.txt.old
serial
serial.old

Suggestion:

Move all of the counter and state files as given above to a new subdir of /etc/pki/CA called for example "var", "run", "state" or "counters" for Great Cleanliness.

This can be achieved by modifying the paths given in openssl.cnf

Version-Release number of selected component (if applicable):
=============================================================

openssl-1.0.2j-1.fc24.x86_64

Comment 1 Tomas Mraz 2016-12-05 07:58:58 UTC
Can you please provide a patch (against rawhide) that would do as you suggest?

Comment 2 Tomas Mraz 2020-12-01 15:13:29 UTC
Any fix for this needs to be implemented in upstream OpenSSL project. Please submit a PR to https://github.com/openssl/openssl/ if you want this fixed.