Security Help Needed (SSL Http Posting to a web site)
$20-25 USD
Fechado
Publicado há mais de 20 anos
$20-25 USD
Pago na entrega
I need someone who understands security in the MS .Net programming model (I belive it is almost the same as Interdev).
I'm trying to make a POST to a secure website (https://) and I have to do this without the help of a browser.
If you have done this before and understand it in terms of .Net programming I would like to hire you to help make the code below work for me.
Here is my test code: The actual site address and value pairs are not real in this sample.
Using this code I get the error "The underlying connection was closed: Could not establish trust relationship with remote server."
I have tried to add X509 certificates but that did not seem to help.
Dim myWriter As StreamWriter = Nothing
Dim url As New Uri("https://MyTargetSiteAddress/cgi-bin/[login to view URL]"")
Dim strPost As String = "name1=value1&name2=value2"
oHttpReq = CType([login to view URL](url), HttpWebRequest)
[login to view URL] = "POST"
[login to view URL] = [login to view URL]
[login to view URL] = "application/x-www-form-urlencoded"
Try
myWriter = New StreamWriter([login to view URL]())
[login to view URL](strPost)
Catch ex As Exception
[login to view URL]([login to view URL])
Finally
[login to view URL]()
End Try
Dim objResponse As HttpWebResponse = CType([login to view URL](), HttpWebResponse)
Dim sr As StreamReader = New StreamReader([login to view URL])
Dim strResponse As String = [login to view URL]()
[login to view URL]()
Display strResponse as the results...
## Deliverables
I just need a price quote from you for email help that will be required. You may provide me samples of other source that work OR you may give me instruction and teaching on explaining what needs to be done. I just need some success with this and the money is yours. Remember, it project is pure .Net and nothing else.
## Platform
.Net runtime