@mrmarkuz reported the default self-signed certificate expired in 1979.
I never could reproduce the the issue and blamed it on a racy-condition at system-init between getting a time from a ntp server (this was in a raspberry PI so no RTC) and the creation of the certificate.
However now I am curios what expiration date of the default self-signed certificate on your systems is