web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)
Suggested Answer

The remote certificate is invalid

(0) ShareShare
ReportReport
Posted on by 1,144

Dear all,

I have faced the following error message while trying to send SMTP mail from SMTP Server (smtp.gmail.com).

Microsoft Dynamics NAV



The SMTP mail system returned the following error: "The remote certificate is invalid according to the validation procedure.".


OK



This is happening in the PC where NAV Server is installed.

How to solve it ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    This usually occurs because either,

    certificate is self-signed and not added as a trusted certificate.

    certificate is expired.

    certificate is signed by a root certificate that's not installed on your machine.

    Please check the certificates and let us know. Hope it helps.

  • subrata.bauri Profile Picture
    1,144 on at

    Certificate is expired. I want to renew it.

  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    Hi,

    Please let us know if it is resolved or facing any more issues.

    Regards,

    Naresh.

  • Community Member Profile Picture
    on at

    Which certificate?

  • subrata.bauri Profile Picture
    1,144 on at

    I've created a new certificate, but still the same error message is coming.

  • subrata.bauri Profile Picture
    1,144 on at

    Q. Which certificate?

    A.  Server certificate

  • Suggested answer
    Community Member Profile Picture
    on at

    Try sending mail using 397 Mail Codeunit (Using Outlook).

    Gmail may not allow you to send the mail via NAV.

  • subrata.bauri Profile Picture
    1,144 on at

    Hi,

    I'm using codeunit 400 (NAV2013R2) & able to send emails from smtp.gmail.com server in my Test Machine but can not do the same in Live Server.

    While trying to send emails from Live Server, it gives the error message like "The SMTP mail system returned the following error: "The remote certificate is invalid according to the validation procedure.".

    As per error message I have checked the Certificate & it's found expired. So I've created a new one but still facing the same error message.

  • Ngotie Profile Picture
    24 on at

    Turn off the your anti-virus 'Mail Shield' and in your gmail account turn on the 'Allow less Secure apps'.

  • Suggested answer
    Brammah Profile Picture
    5 on at

    This can happen when you have installed an antivirus on your server and the "Scan Outbound Emails" on your basic protection is activated. Just uncheck it and you should be fine.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans