SMTP certificate verify failed

Les hele artikkelen

2017-12-06 21:19:40 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2017-12-06 21:19:40 Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed [webresourceslibraryemailSMTP.php line 326]
2017-12-06 21:19:40 Connection failed. Error #2: stream_socket_client(): Failed to enable crypto [webresourceslibraryemailSMTP.php line 326]
2017-12-06 21:19:40 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) [webresourceslibraryemailSMTP.php line 326]
2017-12-06 21:19:40 SMTP ERROR: Failed to connect to server: (0)
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Kjører Windows 10, plutselig får jeg ikke sendt e-poster med SMTP med PHP koden min. Får dette opp når jeg debugger, hva gjør jeg for å fikse dette?