Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)
Suggested answer

The remote certificate is invalid

Posted on by 1,112

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: The remote certificate is invalid

    Make sure you have configured your Gmail for 3. party access.

    support.google.com/.../3466521

  • Suggested answer
    Amit Baru Profile Picture
    Amit Baru 3,025 on at
    RE: The remote certificate is invalid

    Hi,

    Pls check your Certificate date & expiration 

    Regards

    Amit Sharma 

  • Suggested answer
    Brammah Profile Picture
    Brammah 5 on at
    RE: The remote certificate is invalid

    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.

  • Ngotie Profile Picture
    Ngotie 20 on at
    RE: The remote certificate is invalid

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

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 on at
    RE: The remote certificate is invalid

    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.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The remote certificate is invalid

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

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

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 on at
    RE: The remote certificate is invalid

    Q. Which certificate?

    A.  Server certificate

  • subrata.bauri Profile Picture
    subrata.bauri 1,112 on at
    RE: The remote certificate is invalid

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The remote certificate is invalid

    Which certificate?

  • Suggested answer
    RE: The remote certificate is invalid

    Hi,

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

    Regards,

    Naresh.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans