Error in log

Ubuntu 20.04
Peertube 4.1.1

Noticed this error in the log

warn[4/3/2022, 5:43:20 AM] Directory of bin should not be in the production directory of PeerTube. Please check your production configuration file.

error[4/3/2022, 5:43:23 AM] unable to verify the first certificate

{
« component »: « smtp-connection »,
« sid »: « VEPUb13w1p4 »
}

error[4/3/2022, 5:43:23 AM] Failed to connect to SMTP justourmail.com:587.

{
« err »: {
« stack »: « Error: unable to verify the first certificate\n at TLSSocket.onConnectSecure (_tls_wrap.js:1515:34)\n at TLSSocket.emit (events.js:400:28)\n at TLSSocket.emit (domain.js:475:12)\n at TLSSocket._finishInit (_tls_wrap.js:937:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:709:12) »,
« message »: « unable to verify the first certificate »,
« code »: « ESOCKET »,
« command »: « CONN »
}
}

any help on correcting this would be great

Keith