简体   繁体   中英

Service fabric stateless service authorization

I am trying to protect services exposed with remoting using certificate.

Service fabric does provide a mechanism to do it using X509Credentials class

Seems like it is trying to load the certificate from local store and cannot accept X509Certificate2 as a parameter .

Any idea how to achieve this ?

There's good documentation about this here .

  • Create your service
  • Add listener settings and security credentials.
  • When you call methods on a secured service by using the remoting stack, use ServiceProxyFactory , provide FabricTransportRemotingSettings , with SecurityCredentials .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM