/etc/pki/tls/certs/localhost.crt and /etc/pki/tls/private/localhost.key not owned by any package

Solution Verified - Updated -

Issue

  • yum provides or rpm -qf provide no relevant package owner when ran against /etc/pki/tls/certs/localhost.crt or /etc/pki/tls/private/localhost.key :
# rpm -qf /etc/pki/tls/certs/localhost.crt
file /etc/pki/tls/certs/localhost.crt is not owned by any package

# yum provides /etc/pki/tls/certs/localhost.crt
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No matches found

Environment

  • Red Hat Enterprise Linux (RHEL) (all versions)
  • httpd
  • mod_ssl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content