Actions
Bug #1190
closedIncorrectly pasted SSL Cert breaks the webconfigurator
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Certificates
Target version:
-
Start date:
01/13/2011
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
I just pasted an SSL cert into the cert manager to use as the cert for the web interface. I managed to paste the cert missing the last line: -----END CERTIFICATE-----
Presumably no validation takes place because /var/etc/cert.pem was still created as a concatenation of the pasted cert and key, but obviously the last line of my cert mentioned above was missing. The webconfigurator restarted and then I was unable to access it anymore. I fixed it by tracking down the above file and restarting the webconfigurator from the console.
Is it possible to do validation on the pasted certs? Just a check that the first and last lines are sane would be a start?
Actions