source/code/plugins/agent_maintenance_script.rb
# Restore the provided public/private key to the certs files
Restore the provided public/private key to the certs files
Restore the provided public / private key to the certs files
def restore_old_certs(cert_old, key_old)
      cert_file = File.open(@cert_path, "w")
      cert_file.write(cert_old)
      cert_file.close
      key_file = File.open(@key_path, "w")
      key_file.write(key_old)
      key_file.close
    end
def restore_old_certs ( cert_old , key_old ) cert_file = File . open ( @cert_path , "w" ) cert_file . write ( cert_old ) cert_file . close key_file = File . open ( @key_path , "w" ) key_file . write ( key_old ) key_file . close end
Restore the provided public/private key to the certs files
Restore the provided public / private key to the certs files
cert_old
<not_specific>
key_old
<not_specific>