c# - Certificate issue using WCF with SSL -


i'm trying connect service 3rd party company publishing. authentication part, use 2 certificates, 1 public key , 1 private key.

i've made console application test certificates in differente stores, following possibilities:

  • location: current user; store: personal
  • location: local machine; store: personal (installed admin user. don't have admin permissions)

it working until i've changed computer week. i've tested on other machines , it's working on both configurations. mine works when try 'current user location'. why? application needs use 'local machine location'.

the possibility can think kind of permission. i'm not finding clue on web. similar links bindings, wrong certificates, overriding servicecallback, etc.

someone knows if permission needed use certificate localmachine?

obs: application can find certificate, when uses got following error:

could not establish trust relationship ssl/tls secure channel authority 'name-of-certificate' 

note: know there other posts similar this, problem/scenario different.

possibly identity of application pool has rights read private key of certificate local machine store.

to add permission, go certificate snapin, right click certificate, select tasks , manage private keys. there, add application pool identity.

also, always, make sure application pool's "load user profile" setting set true.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -