Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Remote X509Certificates

Remote X509Certificates

Scheduled Pinned Locked Moved C#
sysadmincryptographytutorialquestion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nicholas Cardi
    wrote on last edited by
    #1

    Does any one know how to get a remote web server to transfer its Certificate (X509Certifcate) to the local machine using Sockets? I need the public key from a given web server.

    Forever Developing

    L 1 Reply Last reply
    0
    • N Nicholas Cardi

      Does any one know how to get a remote web server to transfer its Certificate (X509Certifcate) to the local machine using Sockets? I need the public key from a given web server.

      Forever Developing

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Nicholas, at this point you seem completely gone, in your last thread you said:

      Nicholas Cardi wrote:

      Thank for the information but I am not using sockets or streams.

      now you say:

      Nicholas Cardi wrote:

      Does any one know how to get a remote web server to transfer its Certificate (X509Certifcate) to the local machine using Sockets?

      Maybe these will help http://www.codeproject.com/useritems/SecureDataExchange.asp?df=100&forumid=374056&exp=0&select=1847499[^] http://msdn2.microsoft.com/en-us/library/aa480477.aspx[^]

      led mike

      N 1 Reply Last reply
      0
      • L led mike

        Nicholas, at this point you seem completely gone, in your last thread you said:

        Nicholas Cardi wrote:

        Thank for the information but I am not using sockets or streams.

        now you say:

        Nicholas Cardi wrote:

        Does any one know how to get a remote web server to transfer its Certificate (X509Certifcate) to the local machine using Sockets?

        Maybe these will help http://www.codeproject.com/useritems/SecureDataExchange.asp?df=100&forumid=374056&exp=0&select=1847499[^] http://msdn2.microsoft.com/en-us/library/aa480477.aspx[^]

        led mike

        N Offline
        N Offline
        Nicholas Cardi
        wrote on last edited by
        #3

        I know. I have given up hope. I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me. ~Nick

        Forever Developing

        L 1 Reply Last reply
        0
        • N Nicholas Cardi

          I know. I have given up hope. I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me. ~Nick

          Forever Developing

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Nicholas Cardi wrote:

          I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me.

          What are you talking about? How else do you expect to get it, magic? Maybe you need a career change, you could call youself "The Great Cardi".

          led mike

          N 1 Reply Last reply
          0
          • L led mike

            Nicholas Cardi wrote:

            I think I am going to the route of setting up an SSLSocket just to get the certificate information from the web server. This seems like a waste of resources to me.

            What are you talking about? How else do you expect to get it, magic? Maybe you need a career change, you could call youself "The Great Cardi".

            led mike

            N Offline
            N Offline
            Nicholas Cardi
            wrote on last edited by
            #5

            led mike, The public key exchange for SSL is done before the SSL connection is established. I belive this is how the protocal works (Maybe I'm wrong). That is the only portion of the SSL protocal that I am looking to implement. I not really interested in secure communication or ecrypted sockets. I just need the server to transfer me its SSL cert. ~Nick

            Forever Developing

            L 1 Reply Last reply
            0
            • N Nicholas Cardi

              led mike, The public key exchange for SSL is done before the SSL connection is established. I belive this is how the protocal works (Maybe I'm wrong). That is the only portion of the SSL protocal that I am looking to implement. I not really interested in secure communication or ecrypted sockets. I just need the server to transfer me its SSL cert. ~Nick

              Forever Developing

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              Nicholas Cardi wrote:

              I belive this is how the protocal works (Maybe I'm wrong).

              http://en.wikipedia.org/wiki/Transport_Layer_Security#How_it_works[^] http://www.answers.com/topic/ssl[^] If you are not willing to do your own research I will not help you any further

              led mike

              N 1 Reply Last reply
              0
              • L led mike

                Nicholas Cardi wrote:

                I belive this is how the protocal works (Maybe I'm wrong).

                http://en.wikipedia.org/wiki/Transport_Layer_Security#How_it_works[^] http://www.answers.com/topic/ssl[^] If you are not willing to do your own research I will not help you any further

                led mike

                N Offline
                N Offline
                Nicholas Cardi
                wrote on last edited by
                #7

                Mike, I am aware of how the SSL protocal works. What I am looking for is if someone on has implemented just the Handsake or X509 Certificate exhange portion of the SSL protocal. As the title of this topic suggets. ~Nick

                Forever Developing

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups