Feature #8587
Aktualizováno uživatelem Jan Pašek před asi 4 roky(ů)
The controller shall check custom cryptography and database exceptions and return meaningful error messages.
* Additionally check parse_cert_pem(self, cert_pem) method - instead of null return exception and the following code shall strip the text that is parsed to a date
<pre>
if not_before is not None:
not_before = time.strptime(not_before.group(1), NOT_AFTER_BEFORE_DATE_FORMAT)
if not_after is not None:
not_after = time.strptime(not_after.group(1), NOT_AFTER_BEFORE_DATE_FORMAT)
</pre>