Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)
Suggested answer

The remote certificate is invalid

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans