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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Viewing SSL Certificate - C# Webbrowser Control

Viewing SSL Certificate - C# Webbrowser Control

Scheduled Pinned Locked Moved C#
csharpsysadminsecuritycryptographytutorial
1 Posts 1 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.
  • J Offline
    J Offline
    Jon Braunsma
    wrote on last edited by
    #1

    I have an application that users collect data using a webbrowser control and a paser behind it to collect the data. When complete, users login in to a central site and we post the data collected. We have a clever user that has changed their hosts file to redirect the posting to a server they hosted where they then have access to the data. We are going to go with an SSL approach, but I need to make sure when we post the data that we are posting to the correct server and not a server someone has spoofed by changing their hosts file to point to a different server. We'd like to be able to establish a SSL connection to our server and validate the certificate in code. We are using the webbrowser control and I am not sure how to access the certificate so that we can see if we are indeed connected to the correct server. Any hints on how I might do this or where I might look?

    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