Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8491923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:34:17+00:00 2026-06-10T22:34:17+00:00

Is it possible for a client to establish a SSL connection to a server

  • 0

Is it possible for a client to establish a SSL connection to a server using the server’s certificate already exchanged through other means?

The point would be to encrypt the connection using the certificate already with the client and not have to rely on the server to provide it. The server would still have the private key for the certificate the client uses.

This question isn’t language specific, but answers specific to python and twisted are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:34:18+00:00Added an answer on June 10, 2026 at 10:34 pm

    The certificates in SSL/TLS are only used for authentication, the encryption itself is done by shared keys negotiated during the handshake.

    If you want to use certificates, you’ll always need at least the SSL/TLS server to have a certificate (which may be the TCP client). You can indeed swap the role of the client and server when making the connection. That is, the SSL/TLS server doesn’t have to be the TCP server, but can be the TCP client. See definition in the specification glossary:

      client
          The application entity that initiates a TLS connection to a
          server.  This may or may not imply that the client initiated the
          underlying transport connection.  The primary operational
          difference between the server and client is that the server is
          generally authenticated, while the client is only optionally
          authenticated.
    

    However, doing so can lead to difficulties. Just like a server in a traditional SSL/TLS connection can’t detect whether the request have been through a MITM (it’s solely the client’s responsibility to check the server certificate, without client-certificate authentication), making the TCP client be the SSL/TLS server makes it hard for the TCP client to know that it’s talking to the TCP server it intended: the server could in fact be a MITM. You’d need to consider whether this suits your needs.

    In Python, you should be able to choose the orientation of your SSL/TLS socket using the server_side parameter of ssl.wrap_socket.

    The server would still have the private key for the certificate the
    client uses.

    This doesn’t make sense at all. Private keys should be kept private by the party to which the certificate was issued.

    Perhaps you’re after a Pre-Shared Key mechanism instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Client Id for Property (ASP.Net MVC) In my View I'm using jquery
Possible Duplicate: Ambiguous reference in WCF and client application I am using few classes
My client would like a business application to support 'every possible device'. The application
Is it possible to check if the client socket is keeping connection alive at
Is it possible to hold an open TCP connection with a client, while the
Possible Duplicate: Java socket sends some data during connection to server I have two
Possible Duplicate: Get Client IP using just Javascript? I know PhP can know your
1) As far as I know, it is not possible to establish a SSL
How does one check if no connection is possible (that is, server is down...)
We are currently using MICO to establish the communication between a server and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.