SSL connection example

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hansen

    SSL connection example

    Hi!

    Does anyone have an example on how to make a SSL connection in c++?
    I've tried Google, but didn't find any useful information. But must admit,
    that I'm not sure what to look for, since I'm new to SSL :o)

    Best Regards
    Hansen


  • Paolo

    #2
    Re: SSL connection example

    You need to know the messages that SSL uses, and then open a tcp
    connection to the appropriate port, which is 443. You need to have
    private and public keys. I don't think you can do smething likke this
    without knowing what you're doing, that is without knowing SSL...

    Hope it helps!


    Hansen ha scritto:
    Hi!
    >
    Does anyone have an example on how to make a SSL connection in c++?
    I've tried Google, but didn't find any useful information. But must admit,
    that I'm not sure what to look for, since I'm new to SSL :o)
    >
    Best Regards
    Hansen

    Comment

    • Victor Bazarov

      #3
      Re: SSL connection example

      Hansen wrote:
      Does anyone have an example on how to make a SSL connection in c++?
      I've tried Google, but didn't find any useful information. But must
      admit, that I'm not sure what to look for, since I'm new to SSL :o)
      "SSL connection" is undefined in C++. Perhaps you should look at
      Apache project or some such; here your question is off-topic.

      V
      --
      Please remove capital 'A's when replying by e-mail
      I do not respond to top-posted replies, please don't ask


      Comment

      • Default User

        #4
        Re: SSL connection example

        Paolo wrote:
        You need to know the messages that SSL uses, and then open a tcp
        connection to the appropriate port, which is 443. You need to have
        private and public keys. I don't think you can do smething likke this
        without knowing what you're doing, that is without knowing SSL...

        Please don't top-post. Your replies belong following or interspersed
        with properly trimmed quotes. See the majority of other posts in the
        newsgroup, or the group FAQ list:
        <http://www.parashift.c om/c++-faq-lite/how-to-post.html>



        None of that has to do with standard C++, the topic of this newsgroup.
        In particular, the methods for doing that vary by implementation. The
        OP needs to find a newsgroup dedicated to his platform.




        Brian

        Comment

        Working...