SSL error for pages paths including a dot

We allow usernames and group paths to contain a dot but this results in an cert name mismatch for pages:

For example: