Mixing stored TLS certificates and automatic TLS certificates uses wrong certs