Commit b83079a2 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_certificate_authority: Fixup message

parent 6f4c96f0
......@@ -55,7 +55,7 @@ class CertificateLoginMixin:
}
if self.getReference() and self.getSourceReference():
if csr is not None:
raise ValueError("This certificate already")
raise ValueError("The certificate was already requsted without the certificate sign request.")
certificate_dict["id"] = self.getSourceReference()
crt_pem = caucase_connector.getCertificate(int(self.getSourceReference()))
certificate_dict["certificate"] = crt_pem
......
Markdown is supported
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