Skip to content

Commit

Permalink
Merge ee3a3f5 into 2baca5e
Browse files Browse the repository at this point in the history
  • Loading branch information
skazi0 committed Apr 21, 2022
2 parents 2baca5e + ee3a3f5 commit 5a16e2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/registration/ssl_certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ def self.update_instsys_ca
# Cleanup
FileUtils.rm_rf(TMP_CA_CERTS_DIR)

# Reload SUSEConnect internal cert pool (suseconnect-ng only)
SUSE::Connect::SSLCertificate.reload if defined? SUSE::Connect::SSLCertificate.reload

# Check that last file was copied to return true or false
File.exist?(new_files.last)
end
Expand Down

0 comments on commit 5a16e2d

Please sign in to comment.