.net - how do i load a certificate into visual studio? -


i want use visual studio post data server via https. know when go url in browser, server sends certificate verifying identity (as part of http on top of ssl protocol). having trouble posting server via vs (i web exception) , think because missing certificate. sys admin has emailed me certificate think need load. when go properties-->signing-->select file -->and pick certificate vs throws error "the selected file not contain private key. must choose certificate contains private key." error message confusing me because think certificate server not have private key, verified public key. unexpected error message makes me think loading cert incorrectly. loading correctly? if so, why vs saying expects private key?

here code posts via vs

 using client new net.webclient             dim uploadthis string = string               client.uploadstring(uploadthis,   "post", uploadthis)   end using 

i tried looking error message on google. http://www.1-script.com/forums/security-microsoft/issuing-code-signing-certificate-with-private-key-22023-.htm

these people seem think need make v2 certificate. sorry have no idea of means, bored. have day.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -