question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recommended way of allowing functional SSL/TLS

See original GitHub issue

I know on start, I get a message about a cert being created and tells me I need to trust it. I’m trying to connect with mailkit and getting this:

MailKit.Security.SslHandshakeException: An error occurred while attempting to establish an SSL or TLS connection.

The SSL certificate presented by the server is not trusted by the system for one or more of the following reasons:
1. The server is using a self-signed certificate which cannot be verified.
2. The local system is missing a Root or Intermediate certificate needed to verify the server's certificate.
3. The certificate presented by the server is expired or invalid.

See https://github.com/jstedfast/MailKit/blob/master/FAQ.md#InvalidSslCertificate for possible solutions.

I’ve installed that cert to personal in both local user and local machine as well as trying to install a few other places, and never been able to better my situation except disabling ssl/tls checks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rnwoodcommented, Jun 2, 2020

Hi @ronnyek. Make sure you put the cert into the ‘Trusted Root Certification Authorities’ store, not the default ‘Personal’ store.

0reactions
rnwoodcommented, Jul 3, 2020

Closing this issue for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SSL/TLS Best Practices for 2023
An overview of current best practices to keep in mind when setting up SSL/TLS for your website, focusing on both security and performance....
Read more >
Recommendations for TLS/SSL Cipher Hardening
Below is a list of recommendations for a secure SSL/TLS ... The syntax for enabling/disabling TLS protocols and cipher suites will vary ...
Read more >
Enabling end to end TLS on Azure Application Gateway
To configure TLS termination, a TLS/SSL certificate must be added to the listener. This allows the Application Gateway to decrypt incoming ...
Read more >
Using new SSL/TLS certificates for MySQL DB instances
We recommend avoiding preferred mode. In preferred mode, if the connection encounters an invalid certificate, it stops using encryption and proceeds unencrypted ...
Read more >
Introducing SSL/TLS Recommender
The preferred way to ensure that no HTTP requests reach your origin is to enable Always Use HTTPS in conjunction with Full or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found