Commit 3b59121d authored by Amadeu Andrade Barbosa Junior's avatar Amadeu Andrade Barbosa Junior
Browse files

Revert "OPENBUS-3078 Correção no setcert do BusAdmin para aceitar nome do arquivo"

This reverts commit f30d7ff6.
No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -520,9 +520,8 @@ function script.delcert(entity)
end
function script.setcert(entity, certificate)
local x509cert = assert(readfile(certificate, "rb"))
local certs = getCertificateRegistry()
certs:registerCertificate(entity, x509cert)
certs:registerCertificate(entity, certificate)
return true
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment