服务器证书不包含与服务器名称匹配的ID


server certificate does NOT include an ID which matches the server name

Apache崩溃,出现以下错误

[ssl:warn] [pid 6056:tid 408] AH01909: www.example.com:443:0 server . 0证书不包含与服务器名称

匹配的ID

在本地主机上使用Swiftmailer发送邮件时执行php脚本。

如何解决这个问题?

详细信息:XAMPP v3.2.1与PHP 5.6, windows 8.1

如果这有帮助,我得到同样的错误,因为我已经启动了docker。窍门是先停止它并启动apache。