• Post Reply Bookmark Topic Watch Topic
  • New Topic

Client Side Authentication question

 
Rumpa Giri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

We need to post data to a secure URL, but for that they need the client certificate from our side. In the .net code that they have supplied how to do that, I see they have something like adding the client .cer file to the HttpRequest before sending the request.

The .net code looks like following:



When we do HttpsURLConnection we do the following :




Will this suffice to do a client authentication from our side while posting to the URL?

Thanks in advance,
Rumpa Giri
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!