Fixed a bug with WebAdmin's certificate registering