Skip to content

Commit

Permalink
Refs #36760 - Reset candlepin key- and truststore
Browse files Browse the repository at this point in the history
This takes a 2 step approach where the cached password is removed during
migration (which ends up running during the RPM installation). The
installer then handles replacing the stores when it really runs.
  • Loading branch information
ekohl committed Oct 5, 2023
1 parent 4462c6d commit a45ac09
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# The server.xml file contained the passwords world readable
# Purging them will regenerate them
FileUtils.rm_f('/opt/puppetlabs/puppet/cache/foreman_cache_data/keystore_password-file')
FileUtils.rm_f('/opt/puppetlabs/puppet/cache/foreman_cache_data/truststore_password-file')

0 comments on commit a45ac09

Please sign in to comment.