On a 32-bit platform such as armhf, the original calculation for the end date of the registry SSL certificate overflowed. Use TimeDate to prevent this from occurring. Closes #1390