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.

Allow SSL server sockets

See original GitHub issue

As in some PaaS contexts is a bit harder to set a SSH tunnel over, what about allowing an SSL socket?

Just asking before starting to hack, but what about plugging ssl.wrap_socket over this sock via some argument switch?

Is this acceptable/desirable if I could provide a patch?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
irmencommented, Aug 4, 2017

Well, turns out that Python’s ssl library has matured a bit since I last looked at it. It now does proper hostname verification etc. if you use a recent enough Python (2.7.9+ and 3.4.3+) . I wanted to see if I could get a grasp of it and get it working in Pyro myself and it seems it works quite well in the latest master branch.

TODO:

  • docs ✔️ done
  • testing with proper certs not only with the self-signed root certs that I created myself ✔️ works (with a letsencrypt cert)
1reaction
irmencommented, Aug 4, 2017

@MatthewJohn yeah I committed it yesterday. @divad I’ll check them out edit: with a bit of host-file trickery I managed to make it work with a letsencrypt cert as well, so that is nice

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sample Code Illustrating a Secure Socket Connection ...
The example SSLSocketClient.java demonstrates how to create a client that uses an SSLSocket to send an HTTP request and to get a response...
Read more >
Enable SSL for all customers - Internet Information Services
This article describes how to enable Secure Sockets Layer (SSL) for all customers who interact with your Web site in Microsoft Internet ...
Read more >
How System SSL works for secure socket communication - IBM
System SSL supports both the TLS (Transport Layer Security) and SSL (Secure Sockets Layer) protocols. Before you start writing your application, let's look ......
Read more >
ssl — TLS/SSL wrapper for socket objects — Python 3.11.1 ...
This module provides access to Transport Layer Security (often known as “Secure Sockets Layer”) encryption and peer authentication facilities for network ...
Read more >
SSL Socket Communication - Web Service Security Tutorial
The following program is a simple SSL server. It uses the ServerKeyStore.jks to get the private key and certificates. It just sends a...
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